Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Because it's a bit of a pet peeve of mine, what you term "strong" and "weak" are more typically called "static" and "dynamic" typing. They do not correspond to "strong" and "weak" as a general rule. Python, for instance, is "strongly" typed (try printing the result of `2+"3"` in its REPL) but also dynamically typed. Neither "strong" nor "weak" typing is well-defined, but the most consistent differentiator is about implicit conversions or casting. Like in Perl you would get "5" as a result of printing out that previous expression.


Thanks for the elaboration.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: