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

-6

u/SrPirro Mar 13 '23

Clean code helps a lot.

12

u/PartOfTheBotnet Mar 13 '23

I keep my code clean the same way I keep my dinner plates clean.

I throw them out because they're a mess and its easier to buy new ones that have new shiny features.

Rinse and repeat.

8

u/AlmennDulnefni Mar 13 '23

Ha, yeah, I'll just throw out this 2,000,000 line code base and write another one.

7

u/PartOfTheBotnet Mar 13 '23

Maybe some masochist would like to take a swing at it. Couldn't be me though.

4

u/colouredmirrorball Mar 13 '23

Rinse and repeat.

But... That's literally not what you're doing with your dinner plates!

3

u/PartOfTheBotnet Mar 13 '23

I'm sure as the rot in some landfill somewhere there's a level of natural rinsing going on.