tcepsa: (Cake)
2009-11-19 06:19 pm

Contrived Example of the Importance of Polymorphism

(Posted to the local Java Users Group mailing list. Reposted here for your edification, or at least hopefully enjoyment ^_^)

There are lots of reasons why polymorphism (one object being treated as a different kind of object) is a valuable thing to have in a programming language.

Centered around a certain clandestine theme... )