Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
jestdotty268313d@tosensei debugging in JavaScript was very quick for me actually
finding the bug is "hard", but fixing it is trivial
finding the bug is like 2 minutes max if you've used the language any degree of time though
I mean, I guess before they added promises which don't have stack traces
or maybe some retard just wrote async code incorrect and then you have to rewrite the whole thing correctly -
Root8310813dI ran into a node optimization flaw that screwed up my code.
`(a || b).foo()` caused the runtime to replace all references of `a` earlier in the function with a shallow copy missing its inheritance. Using `a ??= b` and `a.foo()` instead avoided this. Very odd, and took awhile to troubleshoot.
Spending more time debugging a language than actually writing code
rant