News for hackers. Stuff that matters.
Re:Tell HN: I spend so much time solving problems I feel lik... by muzmath on Thursday December 10, 2015 @08:06PM (#10714859)
Hastily designed for version 0.0.1, this is simply not the case if you are using modern EMCAScript
Re:Tell HN: I spend so much time solving problems I feel lik... by krisajenkins on Friday December 11, 2015 @04:05AM (#10716087)
Is equality still broken? Are maps still broken? Is it still a sporadically whitespace-sensitive language?
Re:Tell HN: I spend so much time solving problems I feel lik... by qwertyuiop924 on Friday December 11, 2015 @08:10AM (#10716854)
not AFAIK, but I am not an expert.
Re:Tell HN: I spend so much time solving problems I feel lik... by krisajenkins on Saturday December 12, 2015 @05:53AM (#10722368)
Leading questions, I'm afraid. Yes, equality is still broken, maps are broken (and in new & interesting ways in EMCAScript 6), and the language is occasionally whitespace-sensitive.

JavaScript was hastily designed, has never recovered, and shows no sign of ever fixing the fundamental problems. :-(

Re:Tell HN: I spend so much time solving problems I feel lik... by muzmath on Sunday December 20, 2015 @08:00PM (#10769001)
Case sensitivity i'm assuming you mean the automatic semi-colon insertion due to a line break after a return statement? I have a hard time seeing this as being a reason to dislike an entire language.

Most languages have features to avoid, JavaScript is no different. Many JavaScript developers use linters to avoid the poor `==` feature. I'm unfamiliar with the argument of the `Map` datastructure implementation being broken. Do you have a reference to that claim?

Re:Tell HN: I spend so much time solving problems I feel lik... by qwertyuiop924 on Sunday December 20, 2015 @05:06PM (#10768471)
Equality isn't really as broken as people seem to think. And if it bothers you that much, use ===. Yes, it can be annoying, but it works.

What do you mean about maps, and whitespace sensitivity? I've never heard anything about that.