Also, do y’all call main() in the if block or do you just put the code you want to run in the if block?

  • Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    35
    ·
    3 days ago

    The if block is still in the global scope, so writing the code in it is a great way to find yourself scratching your head with a weird bug 30 minutes later.