3 ms·
But what is $x? Integer? String? Character? Some_Object? How do you evaluate this, depends on the context. Wasn't that the whole point of a dynamic language an
by kamaal 12y ago
But what is $x? Integer? String? Character? Some_Object?
How do you evaluate this, depends on the context. Wasn't that the whole point of a dynamic language anyway?
- CatMtKing 12y agoAfter learning Haskell, I'm not sure what the benefits of dynamic typing are anymore.
- keypusher 12y agoNo, not at all. Type coercion is orthogonal to type safety.
- AlexanderDhoore 12y agoAmen, brother! I call this "weak typing". But some others use weak typing to mean different things (like "unsafe typing") [1]. Javascript, PHP and Perl are weakly typed. Smalltalk, Lisp, Python, Ruby... are strong typed. But all of them are dynamic. [1] http://en.wikipedia.org/wiki/Strong_and_weak_typing#Predictability http://en.wikipedia.org/wiki/Strong_and_weak_typing#Predicta...
- girvo 12y agoI love dynamic languages with strong typing. You get most of the dev time developments, but without the inherent subtle bugs that creep in via automatic type coercion.