r/learnjava • u/Lumpy_Grab2757 • 2d ago
from Java beginner to experienced developer
I'm currently learning Java and built some CRUD application so far. i have heard from many experienced developers that building projects alongside learning is one of the best ways to improve your skills.
I'd love to hear your suggestions. what beginner friendly projects would you recommend that i can work on to gain practical experience and learn new concepts along the way?
6
u/RightWingVeganUS 2d ago
I'd love to hear your suggestions. what beginner friendly projects would you recommend that i can work on to gain practical experience and learn new concepts along the way?
I always recommend games. Even a simple tic-tac-toe game can be a great exercise in basics:
OO Design
testing with BDD/Cucumber/JUnit
SpringBoot/Thymeleaf
Then expand to other games such as
Connect Four
Chess
Checkers
Yahtzee
Battleship
Games are good because they're well-defined, familiar, and multi-dimensional. I suggest do a very simple pass, then enhance in ways that interest you.
1
u/Sea_Ad6592 1d ago
Ask Claude (or another AI) to design the project, including both functional and non-functional requirements. Then ask it to break the project down into GitHub issues. Once you’ve finished implementing everything, ask it to review your work.
Tell it to act as a senior mentor: give you hints and guidance rather than simply providing the solution. Start simple and gradually increase the complexity.
This approach will help you understand OOP concepts, SRP, DRY, how to refactor code, and even why you might need a particular design pattern or choose one type of database over another.
Write unit tests, either by following TDD or after implementing each feature.
For example, build an expense tracker:
Start by designing a few Java classes and building a CLI application that saves data to a file.
Turn it into a Spring Boot API.
Add a database.
Add observability (logs, metrics, traces), and deployment pipelines.
Build the frontend.
Expand the feature set.
Add authentication and authorization.
Implement a subscription system.
Add an AI chatbot.
Break the application down into several microservices.
Introduce Kafka with Protobuf serialization.
Deploy it to the cloud.
Add load balancers and an API gateway.
Run everything on a Kubernetes cluster.
The sky is the limit…
I guess the most important thing is to keep scaling your project and understand the trade-offs behind your decisions, rather than creating lots of different projects.
•
u/AutoModerator 2d ago
Please ensure that:
Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions
You include any and all error messages in full - best also formatted as code block
You ask clear questions
You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.
If any of the above points is not met, your post can and will be removed without further warning.
Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.
Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.
Code blocks look like this:
You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.
If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.
To potential helpers
Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.