Ask HN: Should I Be Ashamed to Love JavaScript?
21–30 of 52 posts
Re: Ask HN: Should I Be Ashamed to Love JavaScript?
#22It still drives ME crazy because it lets many of my colleagues produce unreadable hard to understand spaghetti code in a way I don’t see with more structured (and tool friendly) languages like C#, Java, or purer functional languages, but well written JavaScript can be a delight.
Re: Ask HN: Should I Be Ashamed to Love JavaScript?
#23The functional programming community loves it, especially with the introduction of ES6.
JavaScript's one best attribute was that it would run on any device. No longer true.
It's second best attribute was a simple threading model. Promises and async wrecked that.
The third best attribute was it was easy to learn. But in ES6 there are twice as many control structures to learn, with no added power. =>, class, const, etc. They just add more things to think about, without solving any problems.
Well, except that people didn't like learning closures and prototypes. And now they don't have to. So you can program in JavaScript now without learning it if you want.
And you don't have to write the word "function" and "this" a lot. So you save 2% on code size.
ES5 Forever.
Re: Ask HN: Should I Be Ashamed to Love JavaScript?
#24But yeah as long as you enjoy what you're doing, you shouldn't worry about it :)
Re: Ask HN: Should I Be Ashamed to Love JavaScript?
#25But then I realized this didn’t matter. The JavaScript community is was evolving at a ridiculous rate. These weaknesses slowly left their blood, and honestly, now I’m left envious. I enjoy writing Flow, poking around with new ideas like async / await, and envy the sheer performance that JavaScript has attained.
I still find JavaScript and often the people associated with JavaScript to be hard to like at times, but it’s a language with great possibilities.
Re: Ask HN: Should I Be Ashamed to Love JavaScript?
#26JS is a tool, just like on the any other. It has some big pluses, and some annoying “WTFs”, but today, it’s a more-than-solid default answer to “What should I write my webapp in”.
Re: Ask HN: Should I Be Ashamed to Love JavaScript?
#27Re: Ask HN: Should I Be Ashamed to Love JavaScript?
#28Fast-forward to now...I’ve decided to build my startup on typescript and node. I find the easy sharing of libraries and types across frontend and backend very liberating.
TS/ES6 are mature and run everywhere. Easy for beginners but functional enough for me. It’s taken me a while but I love JavaScript.