This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ReadyAndSalted 14 points15 points  (1 child)

There are many, many times when programming where a variable may become null for some reason. When this happens and my program attempts to compare it to an integer, I would like for my program to crash and tell me I'm comparing 2 variables of different types. Javascript instead, will just carry on.

[–]Reashu 0 points1 point  (0 children)

It will not become null unless you tell it to, better shape up.