←back to thread

873 points belter | 5 comments | | HN request time: 0.214s | source
1. fergie ◴[] No.42947617[source]
> Typed languages are essential on teams with mixed experience levels

I'm 30 years in now, and on balance, whilst they have clear advantages, I'm still not convinced that typed languages are essential, particularly for low level or module programming.

replies(4): >>42947917 #>>42948195 #>>42948954 #>>42950731 #
2. pjc50 ◴[] No.42947917[source]
Unless you can happily deal with '"four" + 1' your language is typed. The question is whether you want type errors reported upfront or you have to wait to find them at runtime (necessitating high test coverage).

One of these days I'd like to see a "typed assembler". It still matters what the contents of registers mean, even if they all look the same to the instruction set.

3. Insanity ◴[] No.42948195[source]
Interesting take, to me it is not so much about the type of coding (high vs low level) but more about the size of the project.

Dynamic languages work great for scripting and rapid prototyping, but if you are working with a team maintaining a large monolith, I would rather have a statically typed language and avoid at least a class of runtime issues due to dynamic typing.

Case in point, I love writing my Jupyter notebooks with Python but am amazed that entire platforms like Dropbox (and instagram?) chose Python as their default language.

4. drpossum ◴[] No.42948954[source]
I think the sentiment was they help significantly when you have inexperienced programmers. (That has also been my experience)
5. arduinomancer ◴[] No.42950731[source]
What do you mean low level?

Do you think the Linux kernel could be written in a language without types enforced?