library(fortunes)
fortune("S4")

Sean Davis: It got me going quickly with S4 methods, which it seems to me
are
the way to go in most cases.
Rolf Turner: If you want to simultaneously handcuff yourself, strap yourself
into a strait jacket, and tie yourself in knots, and moreover write code
which
is incomprehensible to the human mind, then S4 methods are indeed the way to
go.
   -- Sean Davis and Rolf Turner (expressing different views about the
benefits
      of S4 classes)
      R-help (May 2005)


   I will say that I have built a package using S4 classes and find it much
more
difficult to deal with debugging, etc. -- I can never remember the precise
incantation
to find out which methods are available and how to trace() them.  (And
documenting
them is harder too -- it's much easier to not-really-document S4 classes in
a package
and get away with it.)

  Ben Bolker

-- 
View this message in context: 
http://www.nabble.com/Need-Advice%3A-Considering-Converting-a-Package-from-S3-to-S4-tp24901482p24908609.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to