Live data from Hacker News

Ask HN: Experienced JavaScript programmers, what are your recommendations?

news.ycombinator.com

21–30 of 32 posts

Re: Ask HN: Experienced JavaScript programmers, what are your recommendations?

#21

Just don't do it. I totally regret I went for Javascript. I started with systems programming with C++ etc.. At some point some 5 years ago I made the unfortunate decision to go for Javascript. After 5 years I can now confidently say that programming in Javascript is not about what you are creating, it is about what ESxxx version you use, what framework you use, whether you're using Promises or whatever idea people co…

C++/QT may be great, but a lot of the JS question boils down to website creation, rather than app creation.

I dumped node.js on the server site like a hot potato. At the time (2014), it didn't scale well and was quite porous dealing with stuff you'd get free in a framework like django (like db-backed form validation).

But, I can't say I regret learning JS. You won't be able to do the job developing websites if you can't wrangle it. It's so ubiquitous, despite my efforts to keep a node-free codebase, I still had to cave in. Even if it's just getting your foot in the door using SCSS. Or wiring in that jQuery plugin.

Whether it's situational awareness or dealing with webpack configurations, getting that last 10% cinched is going to require understanding what's going on.

What I think people need to know about JS is that they shouldn't just drink the Kool Aid because everyone else seems to.

Re: Ask HN: Experienced JavaScript programmers, what are your recommendations?

#22

It could be a bit far fetched.. But I recommend skipping all frameworks and do a lot with native JS and learn the prototype chain.. this will make you understand a lot more about how JavaScript works and also how JS is attached to the DOM. Frameworks change so often in JS world!

Not that I'm particularly experienced in JS, but I'd add to this that starting out with frameworks like Mithril that have small APIs and let you right the majority of your code and logic in vanilla JS is also very beneficial when starting out.

Re: Ask HN: Experienced JavaScript programmers, what are your recommendations?

#23
Echoing the user 5zBFyURxgY, I would say "don't".

The problem is not the language or even the ecosystem, but the jobs. Most JS gigs are not interesting and not technically challenging. For all the noise the community makes about us being 'engineers', the overwhelming bulk of JS jobs today are just the CSS/HTML tweaking roles of five years ago implemented in 2017 technology.

Occasionally you will get to write some Node server code. These apps will usually be thin proxies over 'real' API web services and the tickets will generally be about marshalling data, waiting for asynchronous responses and handling authentication.

I have been lucky enough to do better: first an adtech R&D role (mixed bag - I hate adtech as an industry, and I loathed our rapacious attitude to people's personal data, but I had lots of autonomy and got to manage my own feasibility studies); the second was a soujourn into web VR (not as technically deep as it sounds - you might get to write a shader or two; that's it).

JavaScript development is good if you want to make decent money doing something easy, and never worry about unemployment. It is not good if you want anything else. It is not a promising field if you want programmatic challenges; if you want to build in a niche of domain-specific knowledge; if you don't like relearning basic tools because the basics keep being reinvented; if you want to be respected as more than a pixel wrangler (you get a LOT of direct requests from senior managers to swap things around etc.); or if you want to keep your options open.

That last point is important. It is quite hard to move out of front end development. The field still has a poor repuation, and because the work is generally basic employers tend to be a little sceptical of your skills. Not insuperable but definitely a strike against JS as a specialism.

I really regret not getting out of JS when I could.

Re: Ask HN: Experienced JavaScript programmers, what are your recommendations?

#24

My biggest recommendation is: form your own opinions and make your own informed decisions around tooling/frameworks/libraries and so on. Front-end development is very opinionated, there are a lot of egos flying around and everyone like a used car salesman wants to sell you something and tell you how great it is. Don't let anyone tell you Javascript is a mistake learning, because while it has its flaws so do many othe…

why vue _and_ aurelia, any special reason? honest question

Re: Ask HN: Experienced JavaScript programmers, what are your recommendations?

#25

Echoing the user 5zBFyURxgY, I would say "don't". The problem is not the language or even the ecosystem, but the jobs. Most JS gigs are not interesting and not technically challenging. For all the noise the community makes about us being 'engineers', the overwhelming bulk of JS jobs today are just the CSS/HTML tweaking roles of five years ago implemented in 2017 technology. Occasionally you will get to write some Nod…

[deleted]

Re: Ask HN: Experienced JavaScript programmers, what are your recommendations?

#26

It could be a bit far fetched.. But I recommend skipping all frameworks and do a lot with native JS and learn the prototype chain.. this will make you understand a lot more about how JavaScript works and also how JS is attached to the DOM. Frameworks change so often in JS world!

Not that I'm particularly experienced in JS, but I'd add to this that starting out with frameworks like Mithril that have small APIs and let you right the majority of your code and logic in vanilla JS is also very beneficial when starting out.

True

Depending if one is good with other languages and some patterns like MVC, I really like to give someone that has 'figured out' the DOM and jquery etc pa.k. frontend in general, a push to Backbone as a JS learning framework. It's very clean and has a relative hard line between data -> View compared to Angular 4 etc. Also I think Backbone is so simple, It makes learning build flows with Gulp, Webpack etc easier. Thats not something to forget in modern JS world..

If all coding is new to a person, use Jquery only to show 'how simple it can be' and than make very clear most code written in Jquery should be considered a 'quick cheat' and does not hold any true JS revelation. Just to let them keep there eyes open and keep setting targets for themself like faster,scalable etc coding skills in Vanilla JS

Re: Ask HN: Experienced JavaScript programmers, what are your recommendations?

#28
Not that experienced but your interest entirely depends on the product you develop. Rather than focusing on the tech to use for the product, focus on the product. Depending on one js framework in this ever changing environment is really tedious later on .

Re: Ask HN: Experienced JavaScript programmers, what are your recommendations?

#29

Just don't do it. I totally regret I went for Javascript. I started with systems programming with C++ etc.. At some point some 5 years ago I made the unfortunate decision to go for Javascript. After 5 years I can now confidently say that programming in Javascript is not about what you are creating, it is about what ESxxx version you use, what framework you use, whether you're using Promises or whatever idea people co…

I love JavaScript but agree with your point about hype fatigue. At some point, you have to ask yourself if you're using JS to solve your problems anymore, or if you're just allowing yourself to be nerd-sniped by all the trivial choices you can make.

It's like [Obama's suits][1]. JS gives you all these little decisions you _can_ make, which wear you down. As soon as you stop caring and decide to "just pick one", you'll generally be fine.

[1]: https://www.fastcompany.com/3026265/always-wear-the-same-sui...

Re: Ask HN: Experienced JavaScript programmers, what are your recommendations?

#30

Just don't do it. I totally regret I went for Javascript. I started with systems programming with C++ etc.. At some point some 5 years ago I made the unfortunate decision to go for Javascript. After 5 years I can now confidently say that programming in Javascript is not about what you are creating, it is about what ESxxx version you use, what framework you use, whether you're using Promises or whatever idea people co…

I agree. JavaScript as a language may have its quirks, but still mostly enjoyable for me to work with. The problem is with its ecosystem. It has "growing pains" of sorts. I read someone comparing it to the fashion industry and it started to make more sense to me. People are building up hype, banking on what kind of code the big shots are "wearing" and the tools/frameworks become and end unto itself rather than the means to an end. A lot of places shoot me down because I only used vanilla JS and jQuery at the last place I used that language.

A C++ job would be interesting for me to take on (I have used C++ in projects mostly from the mid-late 2000s) but I need to brush up on current standards even there. Would I be at a huge disadvantage right now in most jobs if I cannot yet code C++11 compliant code?

Post reply on HN