4 ms·
Why should working in any language, least of all JavaScript, affect mental health - of all things? Granted there will be some frsutration, some stress and anxie
by sherdil2022 1y ago
Why should working in any language, least of all JavaScript, affect mental health - of all things? Granted there will be some frsutration, some stress and anxiety (for some quirks one has to trouble shoot and fix). Which I hope is temporary and which I know working in any language would cause to some extent or another. Rust, anyone?
- bigyabai 1y agoDebugging in Rust is a cakewalk compared to vanilla Javascript. Maybe it's the quality of code, maybe it's the linter, maybe it's the type annotation; but errors tend to be much more clear in my experience. Rust errors are almost always semantic - JS errors could be your runtime, your interpreter, your code, your logic or even the specification of the language. I've seen a couple pleasant JS libraries in my day, and hundreds of absolutely horrifying packages, many of which are proprietary "internal use only" that will thankfully never see the light of day. I could see how JS work would tax you mentally, especially if your superiors refuse to switch to TS.
- sherdil2022 1y agoUnderstood. But just one thing - like using JS isn’t the cause. If management is stupid enough to not make DX better, that would be the reason for mental-health issues for sure.