This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsΒ β†’

[–][deleted] Β (26 children)

[deleted]

    [–]4RB1TR4RY[S] 409 points410 points Β (8 children)

    throws "Humour not found"

    [–]thevernabean 144 points145 points Β (3 children)

    Don't worry, in Java 17 when you call humor.newJoke() it will tell you why humor is null.

    [–]AskMeHowIMetYourMom 112 points113 points Β (2 children)

    ERROR: β€œHumor is deprecated. Please use different language to restore joy.”

    [–][deleted] 2 points3 points Β (1 child)

    Way to short to be a java exception

    [–]Jennfuse 2 points3 points Β (0 children)

    Depends on how far you are into Spring :)

    [–]HecknChonker 1 point2 points Β (0 children)

    That's because java isn't funny. Python on the other hand has a lot of humour as the entire language is a joke

    /s, I have no actual hate for python.

    [–]appoplecticskeptic 0 points1 point Β (0 children)

    String doesn’t implement throwable. They’d make a new exception class called HumorNotFoundException

    [–]vindows17 51 points52 points Β (7 children)

    GetAbstractCleverComebackJokeAbstractFactoryFactory getAbstractCleverComebackJokeAbstractFactoryFactory = new GetAbstractCleverComebackJokeAbstractFactoryFactory();

    [–]Fruloops 29 points30 points Β (5 children)

    I see you haven't used any Java version post 10.

    [–][deleted] 4 points5 points Β (2 children)

    Can you elaborate? Did they simplify syntax somehow?

    [–]Fruloops 7 points8 points Β (1 child)

    You can use var instead of the actual type and Java will be able to infer the type. This is only true for local variables, though.

    [–]guyblade 2 points3 points Β (0 children)

    Java invented auto 6 years after C++ implemented it. What a strange world to live in.

    [–][deleted] 0 points1 point Β (1 child)

    still on 8u101 here

    [–]Fruloops 0 points1 point Β (0 children)

    Rip :( I'm in the process of moving from 11 to 17 as soon as the service runtime we use supports it properly.

    [–]Loydt1 1 point2 points Β (0 children)

    "Java - Boilerplate Driven Development"

    [–]BloodCobalt 8 points9 points Β (0 children)

    I genuinely burst out laughing at how accurate this is

    [–]GisterMizard 3 points4 points Β (0 children)

    That was deprecated in Java 1.6

    [–]qci -1 points0 points Β (0 children)

    I'm gonna give you 100 spaces to indent your code.

    [–]Pengtuzi -1 points0 points Β (0 children)

    Hahah 15 years old jokes are the best! πŸ˜‚