Explore the power of class macros in Ruby to write more declarative and understandable code in this conference talk from RubyConf Mini 2022. Dive into the magic behind attr_reader, the first metaprogramming concept encountered in Ruby. Discover how various gems utilize class macros to simplify codebases. Learn multiple techniques for creating custom class macros that enhance code readability and extensibility. Gain insights into writing classes that are easier to comprehend and maintain while leveraging metaprogramming without introducing chaos.
Overview
Syllabus
RubyConf Mini 2022: Splitwise Sponsor Session: Declare Victory with Class Macros by Jess Hottenstein
Taught by
Confreaks