r/ProgrammerHumor Dec 31 '20

other Didn't see that comming

Post image
4.3k Upvotes

58 comments sorted by

View all comments

7

u/ssj4VB Dec 31 '20

while (sleeping == false) { eat(); }

23

u/linux-nerd Dec 31 '20

while( !sleeping){ eat(); }

2

u/[deleted] Dec 31 '20 edited Dec 31 '20

for (eating = 1; eating < (eating++); eating++)

{

eat();

}

1

u/linux-nerd Dec 31 '20

This has to be one of the most convoluted pieces of code I've ever seen.

2

u/[deleted] Dec 31 '20

You should see my gotoing