The Bike Shed

358: Class Methods



October 18th, 2022  •  40 mins 40 secs  •  Download (40 MB)  •  Link with Timestamp

RSS Feed

Inspired by a Slack thread, Joël invites fellow thoughtbotter Aji Slater on the show to talk about when you should use class methods and when you should avoid them. Are there particular anti-patterns to look out for? How does this fit in with good object-oriented programming? What about Rails? What is an "alternate constructor"? What about service objects? So many questions, and friends: Aji and Joël deliver answers!