Code with Jason cover image

169 - Rails Concerns with Jorge Manrubia of 37signals

Code with Jason

00:00

The Single Responsibility Principle

What constitutes a single responsibility is subjective. And it can be like on different levels of granularity too. There's no binary test you can put something through that says, oh, if it's this, then it's a single responsibility. It's just a subjective judgment call. You don't really want every single class expose one single method to do one single thing. That's pointless and against the spirit of object orientation.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app