Join 📚 Josh Beckman's Highlights
A batch of the best highlights from what Josh's read, .
Taking vacation is just good business sense.
The Big 2022 Garbage Report - by Ryan Broderick
The Big 2022 Garbage Report
Ryan Broderick
If you’re still wondering whether that resource you’re going to add to your domain model should belong to a team or an individual user, just ask yourself: “What if a user wants their assistant to help them with this?”
Again, even if the team that a resource belongs to consists of a single user 98% of the time, it’s still likely that your most sophisticated users will want to be able to share access to that account with someone, e.g. celebrities or marketing departments on Twitter.
Teams Should Be an MVP Feature!
The Bullet Train Blog
My general reaction to flag arguments is to avoid them. Rather than use a flag argument, I prefer to define separate methods.
class Concert...
public Booking regularBook(Customer aCustomer) {...}
public Booking premiumBook(Customer aCustomer) {...}
My reasoning here is that the separate methods communicate more clearly what my intention is when I make the call.
FlagArgument
Martin Fowler
...catch up on these, and many more highlights