Join 📚 Josh Beckman's Highlights

A batch of the best highlights from what Josh's read, .

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

The essence of the gift is that it creates a set of relationships. The currency of a gift economy is, at its root, reciprocity. In Western thinking, private land is understood to be a "bundle of rights," whereas in a gift economy property has a "bundle of responsibilities" attached.

Braiding Sweetgrass

Robin Wall Kimmerer

Consider: what is a parser? Really, a parser is just a function that consumes less-structured input and produces more-structured output. By its very nature, a parser is a partial function—some values in the domain do not correspond to any value in the range—so all parsers must have some notion of failure.

Parse, Don’t Validate

lexi-lambda.github.io

...catch up on these, and many more highlights