• soc@programming.devOP
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    26 days ago

    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.