🎙️
20

PSA: My first Python script kept crashing

Ngl, using print statements to debug was a game changer.
3 comments

Log in to join the discussion

Log In
3 Comments
cole994
cole9941mo ago
Have you ever seen a script with more print than actual code? It's a phase we all go through.
7
rosebarnes
rosebarnes1mo agoMost Upvoted
Disagree, print debugging stays helpful long after you learn the fancy tools.
7
willoww94
willoww941mo ago
It's funny how often the simplest fix is the right one. My mom will spend an hour on tech support before checking if the router is plugged in. Or I'll tear apart a recipe adding spices when it just needed more salt. That print statement method is the same thing, just checking the basic connection before assuming the whole system is broken.
3