There is a post going round on facebook of a mug with some code on it. There's even a reddit post on it. The mug looks quite nice but sadly the code on it is crap.
- The code is not placed in a separate namespace
- A
var
keyword is not used when assigning theCoffee
object - The object oriented style abstraction is broken
- There is no container for the coffee