r/learnjava • • May 07 '20

Good Object Oriented Code

Hi

Can anyone share a link of a github repo where I can read good object oriented code. Not looking for java library code (as they are huge and difficult to dissect) but rather a smaller project/app with some domain. I tried searching but didn't find anything good. Found some basic projects.

Or can anyone suggest me a book or course where you learn it by doing. Trying to get better at OOD and implementation. I have read a lot of theory but want to look at real world examples.

TIA

49 Upvotes

40 comments sorted by

View all comments

Show parent comments

3

u/calmonad May 08 '20

I think Uncle Bob often referenced a project he worked on called FitNesse. https://github.com/unclebob/fitnesse

1

u/AliveShine May 08 '20

Thanks. I'll check this out.

1

u/actuallyrarer May 08 '20

If you understand the S.O.L.I.D principles, read clean Code and read Design Patterns, youll be a quality software engineer better than most haha.

I think the best code i have seen is frustratingly simple. Like "how did you write that so simply" kind of simple. Its really an art form and im jealous of anyone who can do it well.

Srsly check out design patterns though.

1

u/AliveShine May 08 '20

I agree. Understanding SOLID principles, Design Patterns and using them effectively is what best engineers out there do. And it is not very easy. And you're right that some people do write code which is very simple and effective. I am just trying to understand how/what are their mental models. It really is an art.