As my #weekendCodeProjects often are web-based, I have to debug #JavaScript code that was written by an amateur (me) on a regular basis.
My N=1 sample indicates that Javascript’s variable-scoping is responsible for ~80% of issues with the code. The rest is weird type-scoping bugs and the author (again, me) trying/failing to be clever.
#watman #readonly #nan #javascript #weekendcodeprojects