News for hackers. Stuff that matters.
Re:Untyped Programs Don’t Exist by gugagore on Friday December 07, 2018 @10:52AM (#18628638)
I have heard that languages like javascript are weakly typed because of the effort they go through to evaluate an expression instead of throwing a type error.

>> "5" - 3 < 2

It doesn't fit your example of a type error. Quite the opposite, the interpreter intentionally has code to do the specific thing for the specific types. But this feature is why javascript is "weakly typed" in many posts.

There are no comments on this comment yet.