I almost skipped learning to read error messages because it felt like busywork, then a 3am bug in my budget script cost me 2 hours | Coding For Beginners - Topic Shares
I almost skipped learning to read error messages because it felt like busywork, then a 3am bug in my budget script cost me 2 hours
I kept seeing people say "just read the error message" and I figured it was one of those things folks say to sound smart, like the answer is always obvious in hindsight. So I never really slowed down to look, I'd just panic, copy the red text into a search bar, and start guessing at my code. Then last month I was building a tiny script to track my gas and supply receipts and it kept crashing on line 14. I did my usual thing, pasted the error online, tried five random fixes from a forum post from 2011, and got nowhere for close to 2 hours. Out of pure frustration I actually read the whole line out loud and it literally said the file wasn't found, and I had spelled the folder name "receipts" instead of "receipt" in my path. One letter. It felt so dumb but it also clicked for me why everyone hammers on that habit. Now I make myself read the whole message before I touch anything, even when it feels slow. What was the dumbest typo that ate a chunk of your night?