It can be a pain getting the build system up and running but once you're writing typed JavaScript code with modern features like async/wait and ES6 modules along with live + hot reloading, it's impossible to go back. It's really trendy to complain about JavaScript changing too fast right now but the last few years have brought some great changes to JavaScript.
How it feels to learn JavaScript in 2017
31–40 of 167 posts
Re: How it feels to learn JavaScript in 2017
#32We have recently implemented Angular4 in our project, and have started to pick it up. Recently picked up a story that was adding a simple confirmation modal to a page: "Alert" text in the top, body with some warning text, and a yes/no button. This was my first experience with modern JavaScript frameworks and TypeScript. I wanted to do it right, so worked closely with team members who were more versed in this stuff, a…
> This seems ludicrous to me. Why? UI is hard dude. UI on the web is especially hard because the technology has been growing progressively for over two decades.
Probably because it's one line in Vanilla.js:
confirm("Message")Re: How it feels to learn JavaScript in 2017
#33I had a dev write some "modern" Javascript in a project. We neglected to test in slightly out-of-date safari on Mac. Took forever to figure out that "let" keyword was not supported.
Obligatory links: https://caniuse.com/let https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... It's amazing how recently some things arrive and how late competitors skip some elements.
Re: How it feels to learn JavaScript in 2017
#34It can be a pain getting the build system up and running but once you're writing typed JavaScript code with modern features like async/wait and ES6 modules along with live + hot reloading, it's impossible to go back. It's really trendy to complain about JavaScript changing too fast right now but the last few years have brought some great changes to JavaScript.
Agreed. I think the perception comes from lots of people who are using heavy frameworks for simple, mostly-static webpages. Yes, they add complexity to my life, but the experience of working with React/We pack/Typescript is unparalleled -- especially considering what I was working with only five years ago.
We pack = Webpack?
Re: How it feels to learn JavaScript in 2017
#35"I have to confess, the build setup is the most intimidating part of modern web development for me." Here here.
Re: How it feels to learn JavaScript in 2017
#36Nice to see that people who dropped JavaScript a while get to find that things are actually better today than they were.
Re: How it feels to learn JavaScript in 2017
#37Earlier quoted context omitted.
There's been a pervasive meme that JavaScript is terrible jQuery is a spaghetti factory. Which is it?
With the way callbacks work in Javascript and jQuery, you lose some flexibility in organizing your code. It is true the types in Javascript make it difficult to build large projects. These drawbacks can be overcome, of course, but this is all orthogonal to the main point...... If Javascript and jQuery truly are bad (though I would claim they are not, they are mediocre but workable), it's because their creators didn't…
Re: How it feels to learn JavaScript in 2017
#38It can be a pain getting the build system up and running but once you're writing typed JavaScript code with modern features like async/wait and ES6 modules along with live + hot reloading, it's impossible to go back. It's really trendy to complain about JavaScript changing too fast right now but the last few years have brought some great changes to JavaScript.
Re: How it feels to learn JavaScript in 2017
#39Earlier quoted context omitted.
> This seems ludicrous to me. Why? UI is hard dude. UI on the web is especially hard because the technology has been growing progressively for over two decades.
UI is hard dude. It's been a solved (and re-solved) problem for decades.
Re: How it feels to learn JavaScript in 2017
#40Earlier quoted context omitted.
You know a lot of people are terrified of change and new stuff because it might mean their skillset is obsolete. That's a lot of what this backlash against JS is. Some of the criticism is warranted, but a lot of it isn't, it comes from people who have never done anything other than sneer at the language, and for every issue JS has, you can find a matching issue in another language that either a) isn't a problem becau…
Cool story of what you've been able to do by investing in modern web technologies like Mithril. The part where you say a lot of people are terrified of heir skillset becoming obsolete -- I'm not sure I see that in web developers. Everybody I talk to is happy that their knowledge is now obsolete of which array methods don't work in IE8, for example. Possibly a lot of the backlash against JS comes from conversations th…
What I'm not so welcoming of is, for example, the Angular 1.x -> Angular 2, 4, whatever transition. I don't want to have to keep thrashing my projects due to incompatible upgrades.
And I'm tired of the hype cycles. Not so very long ago everyone and their dog was banging on about how React was the next big thing, and now a lot of them are running scared over the patents issue. It seems like almost overnight all I read about now is Vue.js, but I know that in another few months, or maybe a year, everyone will have moved on again.
Fundamentally there's just no incentive to invest, especially not if you have other things you also need to focus on in your work and life.