• 0 Posts
  • 58 Comments
Joined 6 months ago
cake
Cake day: January 16th, 2024

help-circle


  • This is bad practice.

    More accurately it should look something like this:

    # Load sys library for exiting with status code
    import sys
    
    def sayHelloWorld(outPhrase: str="Hello World"):
        # Main function, print a phrase and return NoneType
        print(outPhrase)
        return None
    
    if __name__=="__main__":
        # Provide output and exit cleanly when run from shell
        sayHelloWorld()
        sys.exit(0)
    else:
        # Exit with rc!=0 when not run from shell
        sys.exit(1)
    






  • Congratulations, you just made a huge mess for some barely-above- minimum wage worker to deal with.

    They are going to have to take time to clean up all that glitter or they’ll get written up for keeping a sloppy workspace. But because it’s glitter and got everywhere, it’s gonna take a long time and they are going to miss their performance metrics. That’s a writeup.

    Now they are on the chopping block and their kid is starving and wearing rags to school because you thought it’d send a message to mail them glitter, and literally nobody higher than the mailroom boss even knows that it happened. Good work.



  • JasonDJ@lemmy.zipto196@lemmy.blahaj.zonePolyamorule
    link
    fedilink
    arrow-up
    38
    ·
    edit-2
    2 months ago

    Multiple wives might get you greater revenue but they have higher expenses.

    Men, if you want more net savings, don’t get multiple wives. Just get one husband. Problem solved. The gays figured out how to game the wage gap long ago. Lesbians still have trouble though.