Skip to content

Comment on Ask HN: Which programming language for a first-time coder in 2022?parent

Comments

I program in JS/TS primarily. I’m quite proficient. There are a few little nitpicks I could offer here, but in good conscience I just can’t bring myself to do it. Because I can’t in good conscience recommend anyone start with JS in the current state of its ecosystem.

Part of the reason I’m so proficient in JS is because I’m really stubborn about learning why things break, and have had decades of practice to hone skills around that. But if I were new to programming today and started with web tech, I would have just given up. The amount of shit you have to know just to even start debugging a problem in a common setup is plain bonkers.

I’ll add one more thing to your “good luck” part: good luck building a mental model of client/server. Even if you’re just targeting client, you’re SOL because everything assumes you’re also running Node. Even the stuff that’s ostensibly compatible is either subtly not or built on additional complexities like polyfills with their own respective set of caveats.

I’m even pretty enthusiastic about the direction the ecosystem is going, I think these things are likely to get better over time. But I can’t imagine throwing someone into its current state and expecting anything but sadness and defeat.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.