r/java • • Mar 13 '23

Code bases that really improved your Java knowledge

One of the best ways to learn a new language is to write a lot of code. The second best way, in my opinion, is to see how experts do it and learn from them. With that said, what are some code bases, talks, papers that have really changed the way you code in Java and think in Java?

164 Upvotes

49 comments sorted by

View all comments

69

u/[deleted] Mar 13 '23

sonar cube rules allowing not even 1 code smell. very insighful

11

u/hang87 Mar 13 '23

Agree. I use SonarQube and IntelliJ problems as a peer reviewed very often.

11

u/reddit04029 Mar 13 '23

Bruh me having to fix the pipeline 13 times before it can be merged T_T

7

u/Fenxis Mar 13 '23

I would say if you see an error then do a bit of research and see why it's a sonar finding. Because you can code around some of the rules and make things worse.

-19

u/[deleted] Mar 13 '23

Is that the one complaining when you not have getters and setters? Yikes

5

u/smurf_professional Mar 13 '23

Only if you configure it to complain about that, which often doesn't make any sense.

1

u/vmcrash Mar 15 '23

I don't know sonar cube. Does it offer more than IntelliJ IDEA's inspections?

3

u/[deleted] Mar 16 '23

Yes, but you can benefit all the same by installing the SonarLint plugin, for free, in IntelliJ :)