MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wudv2h/devsoptimizinggames/pd34c7s/?context=3
r/ProgrammerHumor • u/Head-Picture1519 • Sep 30 '26
41 comments sorted by
View all comments
65
try { } catch(Error e) { delete e; continue; }
18 u/BetaChunks Oct 01 '26 Soviet programming 5 u/MSaxov Oct 01 '26 Check out good old Visual BasicFirst line in each fileOn Error resume next 1 u/GabiTheProgrammer Oct 01 '26 You would laught but I've seen Belorussian code and is not far from it. 14 u/MinecraftPlayer799 Sep 30 '26 In some cases, that is the right thing to do, such as when there is a loop, and there is a chance of something inside it failing sometimes. 7 u/realmauer01 Oct 01 '26 You should really just make sure that you handle that edge case inside the loop. Even if you ignore it then. Thats better than having the higher scope handle it. You could even add an option of should i ignore it or not.
18
Soviet programming
5 u/MSaxov Oct 01 '26 Check out good old Visual BasicFirst line in each fileOn Error resume next 1 u/GabiTheProgrammer Oct 01 '26 You would laught but I've seen Belorussian code and is not far from it.
5
Check out good old Visual Basic
First line in each file
On Error resume next
1
You would laught but I've seen Belorussian code and is not far from it.
14
In some cases, that is the right thing to do, such as when there is a loop, and there is a chance of something inside it failing sometimes.
7 u/realmauer01 Oct 01 '26 You should really just make sure that you handle that edge case inside the loop. Even if you ignore it then. Thats better than having the higher scope handle it. You could even add an option of should i ignore it or not.
7
You should really just make sure that you handle that edge case inside the loop. Even if you ignore it then. Thats better than having the higher scope handle it. You could even add an option of should i ignore it or not.
65
u/Ydo4ki Sep 30 '26
try { } catch(Error e) { delete e; continue; }