you are viewing a single comment's thread
view the rest of the comments
[–] [S] 1 point 1 year ago* (last edited 1 year ago) (2 children)

Many languages' Option and Result types suffer from an organically-grown and therefore inconsistently named set of functions that operate on them.

We can do better! The article demonstrates how a full set of useful methods with predictable names can be derived from few, simple rules.

  • source
  • hideshow 2 child comments