S
13

Just found out that 73% of coding tutorials never show you how to handle errors properly

2 comments

Log in to join the discussion

Log In
2 Comments
ellis.mia
ellis.mia8d ago
Three years ago I took a Python course where 8 out of 12 assignments had zero error handling in the solution code. The thing is, if you learn by debugging real crashes early on, it sticks way better than reading about try/catch in a clean example. Bad error handling in tutorials actually forces you to figure it out yourself which is how you get good lol.
8
gracewebb
gracewebb8d ago
Wait did those bad assignments actually teach you to write good error handling, or did they just waste your time debugging things that shouldn't have been broken in the first place? I could see it working either way, especially if the instructor never explained why the code was crashing.
2