• MajinBlayze@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    20 days ago

    This is a function definition, not where it’s called; any number of things can happen between these statements running. Second, multiple return statements is not unusual when there is control logic, i.e. if statements.