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?
How do you evaluate this, depends on the context. Wasn't that the whole point of a dynamic language anyway?
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#Predicta...