Become a member
Sign in
Martin Quiambao Verdejo
Martin Quiambao Verdejo

Martin Quiambao Verdejo

158 Following
149 Followers
  • Profile
  • Claps
  • Highlights

Highlighted by Martin Quiambao Verdejo

See more

From The biggest Rails code smell you should avoid to keep your app healthy by Marcin Grzywaczewski

This way branching logic is only on the top level of your code, and the flow is totally linear. It is even better to extract a service object and move the mailer logic to it — this way it is even simpler to think about this code, simplifying the controller logic further.

From The biggest Rails code smell you should avoid to keep your app healthy by Marcin Grzywaczewski

The general rule of keeping maintainable apps is: favour explicitness over implicitness. AR callbacks are an anti-thesis of this. The advantage of DRYing up your code using them is not worth it — not to mention it is not what DRY is about, really.

From The biggest Rails code smell you should avoid to keep your app healthy by Marcin Grzywaczewski

This way branching logic is only on the top level of your code, and the flow is totally linear. It is even better to extract a service object and move the mailer logic to it — this way it is even simpler to think about this code, simplifying the controller logic further.

Claps from Martin Quiambao Verdejo

See more

Learn these two simple techniques that will dramatically improve your whiteboard skills

Yuri Malishenko

Are People By Nature Good Or Evil? (Part 2)

Ethan Seow

Object Thinking, a review

Ilya Pavlenkov