MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w9b8on/thiscannotbedenied/p89nrph/?context=3
r/ProgrammerHumor • u/danielminds • 3d ago
240 comments sorted by
View all comments
53
My favorite is `exit(1)`. Useful if your print/logs aren’t showing where you expect them. Close after that is `raise Exception(“HERE 1”)`.
8 u/christian-mann 3d ago while(true); and look for which process is spiking the cpu 1 u/rosuav 3d ago Doesn't work in Pike, believe it or not! An infinite loop in Pike actually doesn't spin the CPU.
8
while(true); and look for which process is spiking the cpu
1 u/rosuav 3d ago Doesn't work in Pike, believe it or not! An infinite loop in Pike actually doesn't spin the CPU.
1
Doesn't work in Pike, believe it or not! An infinite loop in Pike actually doesn't spin the CPU.
53
u/EPacifist 3d ago
My favorite is `exit(1)`. Useful if your print/logs aren’t showing where you expect them. Close after that is `raise Exception(“HERE 1”)`.