[R] Definition of generic function for subclasses

Alexander juschitz_alexander at yahoo.de
Tue Mar 13 15:05:48 CET 2012

The definition of simple in "Keep your class hierarchy simple and relevant to
your actual problem" is quite difficult. For someone who has programmed the
classes etc, it is quite simple to understand the heritance. But for example
for someone else, who has to maintain the code and the classes, it might

I know how to define classes, and subclasses and generic function (and I
know also the helpfunction "?"). It is more about the concept. What is the
best way to write good code which is easy to understand by others, easy to
maintain, but doesn't repeat the same generic function for every single

View this message in context: http://r.789695.n4.nabble.com/Definition-of-generic-function-for-subclasses-tp4468837p4469145.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list