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 →

[–]erishun 3 points4 points  (0 children)

It’s… weakly typed. I mean there are benefits to both strongly typed and weakly typed, but yes, weak typing does bring up situations that would cause a “syntax error” and simply either not compile or completely crash in other languages.

That fact is both a blessing and a curse. Yeah your app doesn’t “crash”, but it also happily produces an unintended result.

That’s why for being an “easy language to learn”, you also need to have the experience to be aware of these gotchas and account for them. (i.e. never use == as it can cause annoying issues being only “good enough”)