4 ms·
I really don't see how static typing can be associated to "newbie" coding in any way. Haskell, Golang, Ocaml, and even Scala, clearly aren't aimed at newbies "l
by bsaul 13y ago
I really don't see how static typing can be associated to "newbie" coding in any way. Haskell, Golang, Ocaml, and even Scala, clearly aren't aimed at newbies "let's code an app cause that's cool" kind of developers, and they both embrace static typing.
The only reason i see why you wouldn't want the "compiler" to understand what data structure your function is accepting or returning is when this data structure is far too complex to be represented as a single type in a meaningful way (such as json deserialization returning "Array Or Dictionary" kinds of types).
But apart from that, i can only see advantages in terms of IDE assist (autocompletion, refactoring), code clarity and safety.
- chc 13y agoI think what slavoingilizov is that it makes it easier for companies to make use of inexperienced programmers, not that it helps non-programmers get up and running quickly. The additional automatic checks and IDE assistance enabled by static analysis can help partially paper over a novice's shortcomings.