Hacker News new | ask | show | jobs
by LocalPCGuy 5278 days ago
re: #1 - JavaScript is a very accessible language, and as such, there is a TON of bad code and examples. The fact that people write bad code doesn't make it a bad language, that is your opinion of the language and you are entitled to that but I would argue that opinion. Many people write high-quality code using JavaScript every day, and it can be a very elegant language.
1 comments

Sure, there are bad examples, but it is still a terrible language. It has a horrific type system, encourages the use of globals, is the epitome of TMTOWTDI to the point where there's still no standardized module/object system which impedes collaboration and lacks language features like operator overloading that are present in most mainstream languages today.

I'm not saying you can't write good, elegant code in JS, I'm just saying that you have to fight the language to do it.