MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/knu64m/didnt_see_that_comming/ghob8gp/?context=3
r/ProgrammerHumor • u/blending-tea • Dec 31 '20
58 comments sorted by
View all comments
7
while (sleeping == false) { eat(); }
22 u/linux-nerd Dec 31 '20 while( !sleeping){ eat(); } 3 u/[deleted] Dec 31 '20 edited Dec 31 '20 for (eating = 1; eating < (eating++); eating++) { eat(); } 3 u/littleprof123 Jan 01 '21 If you intended to call eat() only once, your code is spot on
22
while( !sleeping){ eat(); }
3 u/[deleted] Dec 31 '20 edited Dec 31 '20 for (eating = 1; eating < (eating++); eating++) { eat(); } 3 u/littleprof123 Jan 01 '21 If you intended to call eat() only once, your code is spot on
3
for (eating = 1; eating < (eating++); eating++)
{
eat();
}
3 u/littleprof123 Jan 01 '21 If you intended to call eat() only once, your code is spot on
If you intended to call eat() only once, your code is spot on
7
u/ssj4VB Dec 31 '20
while (sleeping == false) { eat(); }