R
36

Swapped to a debugger after 6 months of print statements in Python

I used to litter my code with print() calls to figure out what was breaking, like a dozen lines just to track a single variable. Two weeks ago I finally sat down and learned pdb in an online tutorial after my script crashed for the 80th time. Has anyone else dealt with that stubborn feeling that the old way is fine, even when it clearly isn't?
2 comments

Log in to join the discussion

Log In
2 Comments
mila_reed
mila_reed18d ago
Saw a friend do the exact same thing for like a year straight.
0
mitchell.nancy
Spent 8 months doing that before a coworker forced me into debuggers.
0