An introduction to R7
summary
R7 is a new OOP package (on GitHub, aiming for CRAN and core R) that combines S3 simplicity with S4 rigor: generics and methods implement a bizarro generic with four methods instead of a big ifelse, classes are defined with new_class constructors, properties can be active or protected, and multiple dispatch is supported. It adds validator enforces start < end to keep instances valid and remains 100% S3-backward-compatible.
AI-written summary · about
chapters (6)
- 0:00Start
- 9:18Creating a new class
- 13:52It's a team effort
- 14:20Tried to capture the best parts of S4
- 15:08While remaining 100% backward compatible with S3
- 16:55We've tried to dig a pit of success
related talks
18mAn introduction to R7
31mThe R7RS-Large Roadmap (Invited Talk)
56mRhombus: The Non-shrubbery Parts (Keynote)
33mIs Go Object-Oriented? A Case of Public Opinion
33mReading RSpec — a journey of meta programming
45mLanguage-Oriented Programming with Racket
37mStanding on the Shoulders of Giants
22mDSLs in Racket: You Want It How, Now?
