News for hackers. Stuff that matters.
Re:Myths of Enterprise Python by serve_yay on Tuesday March 24, 2015 @12:35PM (#9257671)
Indeed, it is strongly typed but not statically typed. The only thing is, almost every language is strongly typed now, the only counterexample I know is C (and derivatives). Not that there aren't others, but I'm not sure there are others that anyone really uses. So I wonder if it is really even worth saying a language is "strongly typed" anymore, it's hardly ever a distinction. Might as well just say "not C".
Re:Myths of Enterprise Python by falcolas on Tuesday March 24, 2015 @12:51PM (#9257763)
C, JavaScript, PHP, lisp...

There are many popular and weakly typed languages in use today.

Re:Myths of Enterprise Python by serve_yay on Tuesday March 24, 2015 @12:54PM (#9257781)
JS is strongly typed, not sure about PHP but I don't think so. lisp is not a language, it's a family of languages
Re:Myths of Enterprise Python by pythonautical on Wednesday March 25, 2015 @02:09PM (#9264778)
> [] + {}

"[object Object]"

> {} + []

0

JS and PHP are the prototypical examples of weak typing.

Re:Myths of Enterprise Python by serve_yay on Saturday March 28, 2015 @12:11AM (#9280480)
Again, not sure about PHP. But no, JS is strongly typed. What you've shown there is coercion, not type-punning or anything of the sort.