you are viewing a single comment's thread
view the rest of the comments
[–] 41 points 9 months ago (4 children)

And the best:

public static void () {}

spoiler/s

  • source
  • hideshow 4 child comments
  • [–] 4 points 9 months ago (3 children)

    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

  • source
  • parent
  • hideshow 3 child comments
  • [–] -4 points 9 months ago* (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 9 months ago

    Many other languages have a more readable way of conveying access, class vs instance methods, and of course return type.

    Newer Java versions look great but the industry is slow to catch on, I've worked with Java 8 for an NGO for only a few months before landing a better job with a different language and the amount of boilerplate we made in just that little while is insane. A lot of it is generated by the IDE, sure, but it's so incredibly redundant.

  • source
  • parent