• Baizey@feddit.dk
    link
    fedilink
    arrow-up
    4
    ·
    22 hours ago

    Technically java would also be (){} since the modifiers are optional (outside of public static void main(String… args)) and return type is ignore for the others :D

    • RaphaelSchmitz@feddit.org
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      edit-2
      6 hours ago

      Yeah the thing is that each part of “public static void” is a feature. Which other languages don’t have.

      Still makes a good meme for programmers who are not experienced enough to know that.

    • potatoguy@lemmy.eco.br
      link
      fedilink
      arrow-up
      5
      ·
      22 hours ago

      Yeah, it’s a joke, but I disagree on the void, the other languages on the meme doesn’t need a return type (when they are returning nothing), java needs it.