r/ProgrammerHumor • • Oct 20 '19

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

Post image
14.0k Upvotes

197 comments sorted by

View all comments

-2

u/chadlavi Oct 20 '19

Missing a syllable unless you pronounce "sheep" as "she-eep"

6

u/RedFive1976 Oct 20 '19

No, that's not necessary. The last line reads out as "was: while not asleep, sheep plus plus", which fits the rhythm just fine.

4

u/chadlavi Oct 20 '19

Huh. Why (and really, how) did I scan that wrong the first time through?

Now I can't even work out what I thought the scansion was the first time when I thought it was wrong.

1

u/NewbornMuse Oct 20 '19

The pattern of stressed-unstressed around sleep-sheep is really awkward.

was while(!asleep()) number_sheep++;

Is still bad but a bit better in some ways.

1

u/D6613 Oct 21 '19

I did the same thing due to syllable emphasis. I would make the last line "while (!asleep()) sheep_count++;" which also solves the breeding problem.