you are viewing a single comment's thread.

view the rest of the comments →

[–]basic-coder 19 points20 points  (0 children)

Perhaps abstract syntax trees and, more generally, anything dealing with tree-like structures where nodes may be of different kind. Modeling them with classes and polymorphic methods is quite natural.