Hacker News new | ask | show | jobs
by inimino 3263 days ago
"Principles" not "principals".

Everything depends how the course is taught, not on the language used.

1 comments

> Everything depends how the course is taught, not on the language used.

Usually this statements holds true, but not in this case. I mean, after all we are talking about language where `'0' == false` is `true`.

Every language with loose typing has some edge cases.

Once students know that JS has type coercion, and how to avoid this entire class of problems, they never need to know or think about what "0" == false evaluates to.