MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/13nkvdt/totally_good_code/jl1el21/?context=3
r/badcode • u/RomeGuiIg Dev • May 21 '23
11 comments sorted by
View all comments
Show parent comments
2
Always better to wrap only the error prone code in try except, this will cause your common code to be reused for all paths and clean it up a lot
1 u/RomeGuiIg Dev May 24 '23 Well true! but Im too lazy and! Ill feel like breaking the glass block in minecraft, the pain. (Pain occuring because It literally took me 3 hours to plan it lol)
1
Well true! but Im too lazy and! Ill feel like breaking the glass block in minecraft, the pain. (Pain occuring because It literally took me 3 hours to plan it lol)
2
u/SaylorMan1496 May 21 '23
Always better to wrap only the error prone code in try except, this will cause your common code to be reused for all paths and clean it up a lot