• Zron@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    Because exit might be a variable you use to determine if you should exit. exit() is a function that actually does the exiting.

    It’s the difference between pointing at a jogger and saying “run” and actually running after them.