JS Language Quirks

Filed under: programming

Unexpected type changes… oh noes!

Quirks

More quirks

Chatted about some of Javascript's quirks during Haskell Breakfast Coding study group, and concluded that the dangers of dynamic typing leads to many potential errors. These problems magnify as web development scale. For exampe, say you were trying to match a userId = "00123" with value of y returned from the databse; you would find that it doesn't match until you convert both to integer types.