Spent 3 weeks stuck on a bug because I never learned to actually read the error message
So I've been messing around with Python for about 2 months now, mostly just small scripts to mess with, and I kept hitting this wall where my code would just die. I'd stare at it, change random lines, run it again, die again, repeat. It was driving me nuts, like an hour a night after my shift just poking at the same 15 lines of code. Then last week I finally just read the whole red error text out loud instead of skipping past it, and it literally said the file name didn't exist because I typo'd the path by one letter. One letter! I'd been rewriting whole chunks of logic for nothing. Now I actually slow down and read the error from the top line before I touch anything, and like 4 different problems since then got solved in under a minute. Feels kind of dumb in hindsight but I had no idea that was even a thing beginners were supposed to do. Does anyone have a habit like this they wish someone had clued them into on day one?