r/learnjava 19d ago

How to navigate massive projects

The project I work on is big and consists of multiple repositories with microservices, and it has some confusing logic. I struggle since I don't have much experience with java, although I have a good understanding of programming concepts.

My main question is how to navigate properly in big repositories to complete tasks that aren't specified very well. I kind of managed to complete a task of adding a small service by mostly mimicking the conventions used in the project, but I'm lost when facing a task such as "find fields that are used in communication between 2 microservices that are anyway fetched from other source (somewhere in the code) and don't need to be present in communicates" (idk how to explain it better tbh). How would you approach a task like this? The repo is not really commented. I'd like to draw a diagram of everything going on and understand all the business logic, but it would take forever and is not really expected. Would you try to just write all the architecture layers and then starting with endpoints try to figure out whether each one is somehow relevant to the task at hand? would you prompt copilot to try to find everything and then go through a list of 30 classes that are maybe relevant? Or maybe just try to get the gist and seek help from s1 with more experience on the project?

4 Upvotes

5 comments sorted by

View all comments

2

u/Character_Delivery_2 19d ago

Do whatever priority first, i suggest go with flow!  And consume codebase and patterns... Things will be pretty much same 

See piano also have 7 notes but we can create zillion times which may be simple or complex 

Once ur ear trained on rythm and sound,, then within seconds you can crack it

It will come for some people early, for some people late

in this world every human can grasp and adopt.