• hairyballs@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    10 months ago

    It’s a toy example. In that case, the solution is to assign the expression to a variable to compute its result upfront.