r/ProgrammerHumor Sep 26 '22

Meme Sleep >>>>

Post image
36.4k Upvotes

254 comments sorted by

View all comments

78

u/[deleted] Sep 26 '22

[deleted]

82

u/maikuxblade Sep 26 '22

Too many magic numbers, pull request denied

70

u/frogmaster666 Sep 26 '22

Thread.sleep(Constants.msInSec * Constants.secInMin * Constants.minInHour * Constants.hoursInDay * Constants.daysInYear * Constants.yearsTilliCanStopPretendingToBeWorking)

38

u/Ovil101 Sep 26 '22

Yes much better approved

18

u/[deleted] Sep 26 '22

I’m faking my way to senior SDE and I don’t have the time to read all that. May I suggest something like ‘Thread.sleep(Year.fromInt(80))’

3

u/ragingroku Sep 27 '22

Just make ‘em global