Hacker News new | ask | show | jobs
by thebear 4689 days ago
Author of blog post here: I believe JavaScript is another example where the problems (not sure if I'd call it complexity, but problems they are) can be understood by looking at the history of the language. Brendan Eich himself has said: "I created JavaScript in 10 days in May 1995, under duress and conflicting management imperatives."
1 comments

True, that could very well explain its horrid state in mid-1995. But that was 18 years ago, and things really haven't gotten any better since then.

The Harmony work is somewhat of a step in the right direction, but its impact will still be quite limited, assuming it ever does become a standard.

C++, on the other hand, has seen significant improvement over the past two decades. Much of its complexity can now be avoided when using a "Modern C++" approach, all without losing access to its powerful functionality in those cases when it truly is needed.

C++ has evolved in a way that makes it more usable. JavaScript has merely stagnated, without the community showing any real interest in cleaning up what's a very unjustifiably bad situation.

Template metaprogramming is the reason I have effectively given up on C++.
Modern C++ is worse than classic C++. They threw shit on top of the dung pile.