(function repeat() { | |
eat(); | |
sleep(); | |
code(); | |
repeat(); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(function repeat() { | |
eat(); | |
sleep(); | |
code(); | |
repeat(); | |
})(); |
This comment has been minimized.
While preparing for a multi-day binge programming session, I realized that the phrase “Eat, Sleep, Code, Repeat” can be expressed in JavaScript by this DRY code one-liner :
Inspired by the elegance of this code, I decided to turn it into a product line.
Currently, products are available on Spreadshirt, Redbubble and Deviantart.
Buy these items here :