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?

  • fruitcantfly
    link
    fedilink
    arrow-up
    6
    ·
    2 days ago

    It is normal usage. Though personally I’d probably make another “main” function, to avoid declaring a bunch of global variables