r/ProgrammerTIL • u/Musical-Universe • Aug 13 '20
Other TIL to double check my variable declarations.
Spent three hours searching through my Javascript program to figure out why I was getting NaN in my arrays. After countless console.log() statements, I finally discovered i forgot a "this." for ONE variable in my constructor. sigh.
51
Upvotes
View all comments
Show parent comment
2
u/AutomatedChaos Aug 14 '20
Still during runtime unfortunately, you still need pylint and a proper IDE to detect wrong declarations during development.