5 ms·
I've been coding for over 20 years, and HTML was one of the first "languages" that I picked up, because it was cool to create websites in the infancy of the Int
by HorizonXP 11y ago
I've been coding for over 20 years, and HTML was one of the first "languages" that I picked up, because it was cool to create websites in the infancy of the Internet.
When it came to writing more complex stuff, I gravitated towards IE, ActiveX, and VBScript. I hated JavaScript. I was also 10 years old, so my criteria for picking a language was a bit less nuanced.
Obviously, JavaScript became the programming language of the web, and I had to learn it. I hated the inane syntax, and the fact that I was always forced to use jQuery for dealing with browser differences. I tolerated JavaScript, but still hated it.
With React, Babel, and ES6, that's all changed. I've been writing a lot of ES6 code over the last year, and it's been an absolute joy to use. Everything the author writes about is what I've learned to love.
Perhaps I've become more mature. But I'd like to think JavaScript has too.
- azernik 11y agoThis seems to be selling existing JS developers on switching to ES6 features - all the comparisons are with ES5. No one is under any illusions about switching from Python to Node if you have the choice.
- wdmeldon 11y agoA lot of the criticism seems to be from people who will never like JS. I've always loved JS (for whatever reason) so ES6 is a godsend.
- azernik 11y agoI hate JS with a fiery passion. Which is why I also think ES6 is a godsend.
- natrius 11y agoI switched from Python. They are very similar languages, but one works on the web. Django might pull me back in if I need a CRUD app, but otherwise, it's easier to build a one-language team.
- HorizonXP 11y agoI came from Python too. I took the opposite tack. Our entire backend is written in Django + DRF. We have a Node.js front-end renderer in front of it to handle server-side rendering. I'd rather have a team that can handle multiple languages and shift between them, understanding that a language is simply a syntax for expressing your ideas, not something to be limited by. Some poetry is written best in French, Arabic, or English. Some technical manuals are best written in German or Japanese. You should choose the best language that fits your needs that lets your express yourself fully.
- dc2 11y agoDid you really prefer VBS over JS? Really?