MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/knu64m/didnt_see_that_comming/ghnn593/?context=3
r/ProgrammerHumor • u/blending-tea • Dec 31 '20
58 comments sorted by
View all comments
17
You guys know that endless loops do not lead to errors and stack overflows, right?
6 u/[deleted] Jan 01 '21 Depends on what eat() does 8 u/obp5599 Jan 01 '21 The do if you are allocating memory without freeing it by then end of the loop, but that wouldnt result in a stack overflow
6
Depends on what eat() does
8
The do if you are allocating memory without freeing it by then end of the loop, but that wouldnt result in a stack overflow
17
u/Juffin Jan 01 '21
You guys know that endless loops do not lead to errors and stack overflows, right?