23
Spent 3 hours yesterday trying to center a div. What's your most embarrassing 'simple' fix that took forever?
3 comments
Log in to join the discussion
Log In3 Comments
gray_carter9621d ago
Remember my buddy who spent a whole day debugging a script? Turned out he was editing the wrong file.
3
julia_lee20d ago
Oh man, "editing the wrong file" is a special kind of pain. I feel for your buddy, @gray_carter96. I've done that more times than I want to admit. What finally helped me was making a habit of printing the full file path right at the start of my script run. It sounds simple, but seeing that path in the terminal saves me from myself now. It's a tiny step that stops a whole day of confusion.
4
alice_grant19d ago
Ugh, that's the worst feeling! I started adding a quick comment at the very top of my code with the file name and date. It looks dumb, but just seeing that note when I open it reminds me to double-check I'm in the right place. I also got in the habit of using my terminal's 'pwd' command a lot more before I start typing. It saves me from that same mistake almost every week.
2