Overview
Explore the power of class macros in Ruby programming through this conference talk from RubyConf Mini 2022. Discover techniques for writing more understandable and declarative Ruby code while harnessing metaprogramming without introducing chaos. Learn about the magic behind attr_reader, the first metaprogramming concept encountered in Ruby, and examine how various gems utilize class macros to simplify code. Delve into multiple approaches for creating custom class macros to enhance code readability and extensibility, ultimately improving your Ruby development skills and codebase management.
Syllabus
RubyConf Mini 2022: Splitwise Sponsor Session: Declare Victory with Class Macros by Jess Hottenstein
Taught by
Ruby Central