Settings

Theme

Who does cut the wood? (a meditation on Object Oriented Design)

stackoverflow.com

2 points by sandeepshetty 14 years ago · 1 comment

Reader

damiankennedy 14 years ago

This is a good example if you also include a Saw class and an Axe class. Saw and Axe implement ICutter and IUsable. The Tree class implements ICuttable. Then Worker class calls ICutter.cut(ICuttable)

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection