3 ms·
Debugging 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 error
by bigyabai 1y ago
Debugging 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.