• BB_C@programming.dev
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    2 months ago

    If lock-ergonomics is as relevant to you as indexing, you’re doing it wrong.

    I would rather take indexing returning Results than the other way around.

    One can always wrap any code in {||{ //.. }}() and use question marks liberally anyway (I call them stable try blocks 😉).