Blogmark

Five coding hats

via jbranchaud@gmail.com

https://dubroy.com/blog/five-coding-hats/
Software Development Code Quality Methodology

It doesn't make sense to write code with the exact same approach regardless of the circumstances. Depending on the situation, it may be more appropriate to take a more fast and loose approach than a careful and rigorous one.

Scrappy and MacGyver Hats vs. Captains Hat

a real-world illustration of this that jumps to mind is "setting up payment processing for my app"

  • common approach: fully wire up stripe webhooks with your backend logic and database, etc.

  • scrappy approach: stripe payment alerts me, I go into Rails console and add user record for their email