• gramie@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    It could be that this is a habit left over from pascal, where result is a reserved word, and is automatically made the return value of the function.

    If it is in the context of a short function, I don’t see that it’s all that bad.