RubyConf Mini 2022: Splitwise Sponsor Session: Declare Victory with Class Macros by Jess Hottenstein
Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=aMfHqajixeM
How can we write classes that are easy to understand? How can we write Ruby in a declarative way? How can we use metaprogramming without introducing chaos?
Come learn the magic behind the first bit of metaprogramming we all encounter with Ruby - attr_reader. From there, we can learn how different gems use class macros to simplify our code. Finally, we’ll explore multiple ways we can make our own class macros to make our codebase easier to read and extend.
Other Videos By Confreaks
Tags:
Ruby
RubyConf Mini
RubyConf
Ruby on Rails
Ruby Language