DEV Community

Discussion on: What's your most embarrassing coding story?

Collapse
 
woubuc profile image
Wouter

Biggest "oh my god we're idiots" moment was when me and a colleague (both several years of professional experience at that point) spent almost a full hour debugging, diving into the internals of our frameworks and libraries, trying to figure out why our Typescript class just wouldn't initialise correctly.

Only to realise that we had written "contructor" instead of "constructor"

Collapse
 
awwsmm profile image
Andrew (he/him)

I still do this sometimes. It just goes to show how helpful syntax highlighting / static code analysis / type-checking tools can be. Working in dynamic languages is so much more messy and difficult because of this.