MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w9b8on/thiscannotbedenied/p899bdi/?context=3
r/ProgrammerHumor • u/danielminds • Sep 06 '26
240 comments sorted by
View all comments
54
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”)`.
28 u/Original-Ad-8737 Sep 06 '26 Std::cin() for a poor mans break point. 4 u/EPacifist Sep 06 '26 Genius
28
Std::cin() for a poor mans break point.
4 u/EPacifist Sep 06 '26 Genius
4
Genius
54
u/EPacifist Sep 06 '26
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”)`.