News for hackers. Stuff that matters.
Re:Generalizing Support for Functional OOP in R by fn-mote on Tuesday May 28, 2024 @05:35PM (#40505873)
>> Effectively instead of object.method() you have method(object)

> This reflects a very deep misunderstanding of the distinctive characteristics of each paradigm.

I think the parent made a hasty reading of the GP comment. The GP shows an awareness of multiple OO systems in R.

I believe the GP is attempting to explain to a Java programmer how R could be considered object-oriented even though `plot(item)` does not "look like" what you would see in an object oriented system.

Which is to say: there is an generic function dispatch based on the type of the first argument to the function. This can be _used_ to write in an OO style.

There are no comments on this comment yet.