O
24

Appreciation post: I used to debug by guessing what was wrong

I used to just stare at my code and randomly change stuff until it worked. Now I actually use print statements to check values step by step (which sounds obvious but took me like 6 months to learn). Has anyone else had that moment where a basic technique felt like a superpower?
2 comments

Log in to join the discussion

Log In
2 Comments
palmer.jana
Totally get that feeling. Print statements were a game changer for me too, felt almost too simple to actually work.
2
robert_rodriguez66
Is it weird how the simplest solutions are usually the ones we overlook the most? It's like when you lose your keys and they're in your pocket the whole time, you know?
6