• dustyData@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        3 months ago

        Python supports both, it’s just not pythonic. It’s not the way it’s meant to be written but you can write them if you want/are a masochist, because of the syntax’s flexibility.

      • maynarkh@feddit.nl
        link
        fedilink
        arrow-up
        6
        ·
        3 months ago

        You can end any statement in Python with a semicolon, you can also put multiple statements on the same line, putting a semicolon between them.

    • fluxion@lemmy.world
      link
      fedilink
      English
      arrow-up
      18
      ·
      edit-2
      3 months ago

      Writes custom parser in python to automate removing semicolons after braces. Figures out a preprocessing hook to execute it automatically from java compiler. Starts extending it for other things. Misses deadline. Extends it for more things. Gets fired. Ends up with a full python -> java compiler. Posts project on github. Gets made fun of.