News for hackers. Stuff that matters.
Re:JavaScript's world domination by timepiece on Tuesday March 24, 2015 @06:11PM (#9259857)
Don't you know already that js is a dynamically typed language?
Re:JavaScript's world domination by rpcope1 on Tuesday March 24, 2015 @06:18PM (#9259891)
Python is also dynamically typed, but it does something sane:

>> "1" - 1 Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: unsupported operand type(s) for -: 'str' and 'int'

Re:JavaScript's world domination by seba_dos1 on Tuesday March 24, 2015 @06:38PM (#9260019)
You're confusing dynamic/static typing with weak/strong typing. JavaScript typing is dynamic and weak, while Python's is dynamic and strong.
Re:JavaScript's world domination by timepiece on Tuesday March 24, 2015 @07:20PM (#9260251)
No I'm confusing dynamically typed langs with loosely typed ones. Thanks for bringing this to my attention :)
Re:JavaScript's world domination by Dewie on Tuesday March 24, 2015 @06:26PM (#9259942)
"Dynamically typed" doesn't mean "refuses to give any type errors, ever".