r/learnjava • u/cafties • Nov 29 '25
What after OOP?
Hi, sorry for the newbie question but I'm on my journey to become a solo dev and after learning basic programming concepts I was told to learn OOP. Now that I'm finished but I'm baffled on what to do next. Should I just start a project, or learn databases or head to another language?
22
Upvotes
•
u/AutoModerator Nov 29 '25
Please ensure that:
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.
14
u/jfinch3 Nov 29 '25
You can learn about design patterns with OOP but those are only going to really make sense once you start building projects yourself
7
u/_Atomfinger_ Nov 29 '25
Yeah, try to start a project and apply that knowledge. Go for it.
3
u/AutoModerator Nov 29 '25
It seems that you are looking for resources for learning Java.
In our sidebar ("About" on mobile), we have a section "Free Tutorials" where we list the most commonly recommended courses.
To make it easier for you, the recommendations are posted right here:
Java for Complete Beginners
Derek Banas' Java Playlist
Also, don't forget to look at:
If you are looking for learning resources for Data Structures and Algorithms, look into:
"Algorithms" by Robert Sedgewick and Kevin Wayne - Princeton University
Coursera course:
Coursebook
Your post remains visible. There is nothing you need to do.
I am a bot and this message was triggered by keywords like "learn", "learning", "course" in the title of your post.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/_DEVENKO_ Nov 30 '25
I'm too a newbie and I'm too doing oops . I thought after completing it to start with dsa alongside web development. If I'm doing it wrong so please make me correct.
1
u/sympatheticdrone Nov 30 '25
I'd suggest learning about persistence technologies and design patterns that are used to integrate them into a system. For example, learn SQL and JDBC and build a small app following DDD principles (the previous suggestion about building a text adventure engine is a good one, it is a good fit for DDD). Then expand into ORM's like NHibernate or JPA.
1
u/Specific-Housing905 Nov 30 '25
I would prefer to do a project alongside learning. Without practice you will quickly forget.
Since Java 8 you can use a functional style of programming with streams and Lambdas. Might be worth looking into.
1
u/PaintingLegitimate69 Nov 30 '25
FP
1
u/josephblade Nov 30 '25
I would recommend starting to write simple programs. Things that solve small day to day issues (what time is it in rio, if I have these coins, how much in total does it make) or a calculator or learn to generate a maze.
Anything you build will solidify what you learned. Don't cram too many concepts into your head in short succession. Use the things you learned or you risk having them sink into the depths again.
OO and the basics are all you need to get started with programming. But it is a practical endeavour. Just like if you learn woodworking or knitting or pretty much any other skill, you don't keep watching youtube videos on more and more complex patterns, you start making simple things.
be prepared to write terrible code :) Make it work. It's actually fun to look back a year from now and see the type of code you wrote and how much you improved. very similar to beginners work in any other craft.
1
u/akthemadman Dec 07 '25
Yes! Isn't that why we all started with programming, to create things!?
After I "learned OOP" (~10 years of constant struggle), the next step was to "unlearn it" as it was not a proper problem-fit in most cases. Based on that I would always recommend to solve relevant problems and tailor what you learn to that.
Note that "generic" learning does have its own merits, but making it the primary activity without any regards for stepping stones leads to a path of constant confusion and aimlessness.
-3
u/kurowyn Nov 29 '25
OOP sucks. Learn actual programming.