Re:Type Wars
by m_fayer on Sunday May 01, 2016 @02:05PM
(#11607170)
Don't underestimate the productivity boost provided by the little squiggly red line. The fact that your tooling will stop you from ever passing T when the expected parameter is Collection<T>, and that this "rescue" involves pretty much zero cognitive overhead, is invaluable. When I work in a statically typed language, I find that I pretty much never make "head-desk" type errors, and despair at their reappearance when writing... javascript.
[ Parent
| on HN ]
Hmm...much of the disconnect might be that when people think "dynamically typed language", they think JavaScript and Python and Ruby.
I also don't make these mistakes while writing Smalltalk.
Re:Type Wars
by mwcampbell on Sunday May 01, 2016 @04:20PM
(#11607697)
What feature of Smalltalk, but absent in Python/Ruby/JS, prevents these mistakes?