Code with Jason cover image

169 - Rails Concerns with Jorge Manrubia of 37signals

Code with Jason

00:00

The Purpose of a Single Responsibility Principle

The greater danger by far is creating that object definition file that's too big. The thing you have to care about most of the time is the understandability of the file you're looking at. I certainly think it would be possible to go overboard and and create a bad situation if your public API is too large. So in our case, we prefer to access them through first level methods on domain entities.

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