News for hackers. Stuff that matters.
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.