Re:Learning from Ada
by jlarocco on Sunday August 21, 2016 @07:16PM
(#12333182)
If people are writing code, thinking, "I have no idea what else is stored in this container, so I'll just add an object of type Foo because I can!" then the project has bigger problems than static or dynamic typing.
[ Parent
| on HN ]
The reality is that a lot of code is written by average programmers trying to get a lot done in a hurry. A static check is the difference between a subtle bug making it into production and a helpful, specific error at compile time. Most projects do have bigger problems than static or dynamic typing but static typing is even more helpful there than it is on projects staffed only by top-flight coders with plenty of time to do things right.
Re:Learning from Ada
by nickbauman on Monday August 22, 2016 @03:16PM
(#12338662)
Except that the evidence points to the contrary.
http://games.greggman.com/game/dynamic-typing-static-typing/