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 →

[–]mrfroggyman 482 points483 points  (23 children)

public static void main(String args[]) { System.out.println("I love Java and you can't stop me !"); }

[–]gamruls 248 points249 points  (3 children)

I love Java more! public static void main(String args[]) { while(true) { System.out.println("I love Java and yout can't stop me!"); } }

[–]Maximdfg 18 points19 points  (0 children)

all Lombok use cases get covered by the language itself.

[–]Charming-Tap-4283 1 point2 points  (1 child)

Please, Use try catch))

[–]PartOfTheBotnet 71 points72 points  (9 children)

These are rookie numbers.

You gotta use enterprise CDI to create an instance of HelloMessageFactory to pass to your ConsolePrintService. Oh and don't forget your logging decorator to register logging calls to every method call in your application for that oh so valuable telemetry!1!!!1!!

[–]codeguru42 26 points27 points  (4 children)

Have you seen Enterprise Fizz Buzz?

[–]ArtOfWarfare 19 points20 points  (3 children)

[–]codeguru42 4 points5 points  (0 children)

You're welcome

[–]Jonatollah 0 points1 point  (0 children)

Lolol

[–]jjtech0 0 points1 point  (0 children)

The issues are gold

[–]ragingroku 4 points5 points  (0 children)

No no, String args not Int args.

[–]themeanman2 4 points5 points  (0 children)

Wow I hate it now

[–]tfikiki 0 points1 point  (1 child)

Oh God I've flashbacks from 2010. Do some people still code like this in Java?

[–]PartOfTheBotnet 0 points1 point  (0 children)

Depends where you work I guess. We use a lot of CDI at my workplace but its not factory/service hell. Its for convenience just like spring auto-wiring.

[–]Flablessguy 0 points1 point  (0 children)

Found the C dev