Skip to content

Instantly share code, notes, and snippets.

@felipeelias
Created April 17, 2013 12:38
Show Gist options
  • Save felipeelias/5403904 to your computer and use it in GitHub Desktop.
Save felipeelias/5403904 to your computer and use it in GitHub Desktop.
LaundryMachine washer = getLaundryMachine();
washer.open();
List<Unerdwear> pileOfUnerdwear = gatherUnerdwear();
for (Unerdwear underwear : pileOfUnerdwear) {
if (underwear.isDirty() OR underwear.isSticky()) {
washer.load(underwear);
} else {
putOn(underwear);
while (undewear.isntDirty()) {
partyLikeIts1998();
}
}
}
washer.close();
if (washer.isLoaded()) {
washer.start();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment