3 ms·
I think they also told him to make it forgiving, like html, so that beginners could use it. Thus the implicit conversion rules, optional semicolons, being able
by goatlover 10y ago
I think they also told him to make it forgiving, like html, so that beginners could use it. Thus the implicit conversion rules, optional semicolons, being able to leave new off a function constructor, not having to use var, and so forth.
- qwer 10y agoThese laundry lists of js warts get dragged out continually, so I really have to ask: How are you people actually developing in javascript and haven't yet discovered linters? Linters have been around for over a decade and solve all of these issues (as they do in other languages as well). They're also easily integrated in every text editor and build system I've ever seen. And why shouldn't the interpreter support these rules? Because a linter can do this almost as easily, and not break backward compatibility.
- goatlover 10y agoThe same can be said for C's flaws. Just use a linter. That didn't stop people from wanting to come up with or use different languages in place of C, where possible.
- douche 10y agoIt's too bad nobody pumped the brakes after it was a little successful, and said "Okay guys, let's stop dicking around and do this right now, before we have to deal with it for the next 30 years". Alas...