Skip to content

Instantly share code, notes, and snippets.

View jessetipton's full-sized avatar

Jesse Tipton jessetipton

View GitHub Profile
@jessetipton
jessetipton / you-deserve-nice-things.md
Created October 28, 2022 20:14
You Deserve Nice Things

You Deserve Nice Things

These rules help you decided if it's worthwhile to add an extension to existing types. See Soroush explain it himself.

Rules

1. Does it increase expressivity?

Anyone can figure out what .reduce(0, +) does on a sequence of numeric elements–but just because they can figure it out doesn't mean you need to make them do it.

Keybase proof

I hereby claim:

  • I am jessetipton on github.
  • I am jessetipton (https://keybase.io/jessetipton) on keybase.
  • I have a public key whose fingerprint is F599 0788 A881 A029 006C 95A0 2AC9 FE62 F34F F0EA

To claim this, I am signing this object: