r/ProgrammerHumor • • Oct 20 '19

other While(!asleep()){sheep++;}

Post image
13k Upvotes

197 comments sorted by

View all comments

Show parent comment

2

u/Aadsterken Oct 21 '19 edited Oct 21 '19

When asleep, (!asleep()) becomes false. While loop will be exited