Ask HN: Why not fix JavaScript?
https://news.ycombinator.com/item?id=2458088Hello Hackers,
I have been learning JavaScript and have observed:
1) Most programmers program using javascript libraries(e.g jQuery), whose syntax is not even vaguely similar to pure javascript which often gives so called jQuery programmers a shock when they attempt to do things in Javascript. I would agrue that less than 1% of so called web programmers can do pure javascript programming.
2) Some Popular web frameworks have resorted to choosing altogether different language that "compiles into Javascript". If its not clear I am talking about Ruby on Rails & Coffee-script.
In-short, JavaScript does have not-so-good parts and people are using workarounds to get those bad things to behave nicely. so as a new Developer looking to learn JavaScript. I face this dilemma of choosing between a) Pure Js b)JS libraries C) language that "compiles into Javascript". And what I have observed there is no right choice, each has its own advantages & disadvantages.
==My Question==
Why not fix the problem(Javascript Standard & its implementations), instead of replying on hackery workarounds that further fragments web-development ecosystem? Aren't workaround are going to hurt us in longer term?
And If there are some improvements coming into JavaScript language, how long we will have to wait till they hit mainstream?