Skip to content

OO programming & S3/S4 paradigm - General question

2 messages · julien cuisinier, Gabor Grothendieck

#
S3 is the original OO approach in R.  It is the predominant one and
the simplest one.  That's the one to use if you are starting out.  You
may never, in fact, need to go beyond that.   S4 builds on S3 so
learning S3 won't be a waste of time even if you decide to use S4 later.
S4 is substantially more complex than S3.

There are also a number of packages that implement alternative
OO models.  R.oo implements a model closer to the conventional
model that other languages use.  proto implements the prototype
model, particularly applicable to user interface work.

On Fri, Jan 30, 2009 at 8:47 AM, julien cuisinier
<j_cuisinier at hotmail.com> wrote: