News for hackers. Stuff that matters.
Re:Maybe we could tone down the JavaScript (2016) by newshorts on Monday December 27, 2021 @12:46PM (#29704716)
Vanilla JS is more rare these days. I interview 2-3 devs per week and always ask basic vanilla JS questions since it’s vital for our workflow that you don’t rely on frameworks we may or may not be using. Knowing react/vue is a bonus, but knowing how to do basic tasks like adding event listeners and manipulating the DOM in vanilla JS is required.

It’s anecdotal but I just wanted to say there are a few places that still haven’t fully committed to a framework.

I’d say at least 1 dev per week can’t add an event listener or manipulate styles in plain JavaScript. It’s getting to the point where I’m going to need to stop asking and just test in whatever framework they know. Then retrain when they come on board.

Re:Maybe we could tone down the JavaScript (2016) by exdsq on Monday December 27, 2021 @01:02PM (#29704898)
Not going to lie, I’d need to googled that nowadays if I wanted to do those things! Issue with polyglot development. Can’t you ask more fundamental questions like when to use an event listener instead, or best practices?
Re:Maybe we could tone down the JavaScript (2016) by jenscow on Monday December 27, 2021 @01:05PM (#29704922)
And this is why we need technical tests during interviews. There are people who call themselves "web developers", apparently been writing websites for 5+ years, but don't know about addEventListener.
Re:Maybe we could tone down the JavaScript (2016) by bdcravens on Monday December 27, 2021 @03:35PM (#29706503)
Even better, make their direct supervisor take the same test. If they outscore them, they get their job and the supervisor then is demoted to the job being hired for.
Re:Maybe we could tone down the JavaScript (2016) by durnygbur on Monday December 27, 2021 @01:16PM (#29705060)
But they how how to connect the Angular injector into the service directive.
Re:Maybe we could tone down the JavaScript (2016) by jenscow on Monday December 27, 2021 @02:53PM (#29706115)
An "Angular developer" would know that.