Skip to content

Instantly share code, notes, and snippets.

@jslegers
Created January 20, 2016 01:38
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jslegers/12fdc05d4e536ad17bd3 to your computer and use it in GitHub Desktop.
Save jslegers/12fdc05d4e536ad17bd3 to your computer and use it in GitHub Desktop.
(function repeat() {
eat();
sleep();
code();
repeat();
})();
@jslegers
Copy link
Author

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 :

(function repeat() { eat(); sleep(); code(); repeat(); })();

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.

Eat, Sleep, Code, Repeat
Eat, Sleep, Code, Repeat
Eat, Sleep, Code, Repeat
Eat, Sleep, Code, Repeat
Eat, Sleep, Code, Repeat
Eat, Sleep, Code, Repeat
Eat, Sleep, Code, Repeat
Eat, Sleep, Code, Repeat

Buy these items here :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment