Coding your own cup of coffee
Advanced:
coffee my_coffee = new coffee();
my_coffee.add(new milkfroth(new 3DDimension(2,2,5));
my_coffee.add(new sugar(3));
For the less-experienced:
coffee my_coffee = coffeeFactory.createCafeLatte();
Inspired by a posting at board.gulli.com
About this entry
You’re currently reading “Coding your own cup of coffee,” an entry on coffee, the web and me.
- Published:
- 08.04.07 / 1am
- Category:
- fun stuff
No comments
Jump to comment form | comments rss [?] | trackback uri [?]