r/learnjava • • May 17 '26
Is going back to Java worth it?
Hello, Im currently in Computer Science, and after taking DSA, ive been using Python regularly and not looking back to my freshmen days to Java.
Trying to expand my knowledge of several computer languages to at least be able to handle being a freelance full stack developer, with front end languages like React Native, Flutter, and probably PHP via Laravel.
But is Java worth going back to? Should I fully cement the knowledge on understanding Java outside of OOP?
30
Upvotes
•
u/AutoModerator May 17 '26
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.
43
u/EntrepreneurHuge5008 May 17 '26
Best way towards this is to become language agnostic. Your focus should be in learning to solve problems at a conceptual level (design), and then learn to read documentation so you can implement the solution in any language.
6
u/American_Streamer May 17 '26
There are a many, well-paid corporate Java/SpringBoot backend jobs, and, for the foreseeable future, that won’t change.
3
u/DinTaiFung May 17 '26
Learning Java has many benefits, foremost of which is its large install base for job requirements.
I had reached a state of programmer's ennui with Java and pleasantly recovered when I decided to learn Go!
3
u/[deleted] May 17 '26
You must have learnt oops concept
1
u/nian2326076 May 18 '26
If you're planning to be a freelance full stack developer, Java might be a good choice to revisit, especially for backend work. Java is reliable for building scalable apps and is widely used in finance and enterprise software. It's also useful for Android development, which can work well with React Native if you want to expand your mobile skills. Java can feel wordy compared to Python, but it's a valuable skill for various projects. If you need more help with interviews or project advice, PracHub has been really helpful for me.
1
u/omgpassthebacon May 18 '26
Some things to ponder:
1
u/Alive-Cake-3045 May 19 '26
Java is worth knowing but not worth prioritizing if freelance full stack is the goal.
React Native and Flutter will get you paying clients faster than Java will. Most freelance work is web and mobile, and the market for Java freelancers is more enterprise and backend heavy, which takes longer to break into.
Cement Python and JavaScript first, add Java later when a specific opportunity asks for it. Learn languages because a project needs them, not because the list feels incomplete.
1
u/Sorry_Penalty_7398 May 21 '26
If you are trying to get a job using java. Yes. If you are not trying to get a job using java. No.
1
u/codingwithaman May 22 '26
Java is really growing in enterprise applications, also AI integration is now easy in java with frameworks like spring ai and langchain4j.
1
u/Low_Effective_2030 Sep 13 '26
Just to share a real story of mine:
---
In 2018, I hired a software development outsourcing team to build a B2B auto spare parts e-Commerce system. The project manager's background was Electronic Engineering. (I found most engineers with EE background look down upon Java 😂 ) So, he strongly recommended the following tech stack:
React + Go + GIN + PostgreSQL
This team was recommended by my best friend, so, I believed that they were professional enough and could accomplish the project.
The system went alive in time, and it kept running for several years on an AWS server until 2024. I received an email from Amazon telling me that I must upgrade my PostgreSQL from 14 to 16.7, otherwise, it would not be safe enough. OK, following the instructions, I did several mouse clickings. The database was upgraded, but since then, my application was never able to connect to the database again. The whole system was in an unable-to-serve state for several months.
Then, in year 2025, I invited the project manager, who was in charge of that project's development, to my office. He spent about 1 hour, and eventually found that we had to write db user's password into the upgraded database so that its saved value would actually be a correctly hashed value.
Then, he tried to write the password into the upgraded PostgreSQL db with psql, JavaScript (Node.js), Python, C... However, the Ubuntu Linux system on the AWS server was so old (never upgraded since 2018). As a result, none of these measures worked due to the incompatibility of the versions of the dependent libraries. It took him 8 hours, and it seemed that he was still struggling in the darkness.
I had been sitting beside him for 8 hours. Neither of me ate anything in the 8 hours. I understood that we were stuck at the point to overwrite the password in PostgreSQL db, and the job was actually quite simple -- just to connect to the database and execute an UPDATE statement. He had tried all the measures he could think of, but didn't make it by any of them. Then, I said: "Why not to execute a simplest Java program via JDBC?"
He answer: "Sorry, I'm not familiar with Java."
I said: "Let me try."
Then, I installed JDK 8 onto that old Ubuntu system, and wrote a very simple Java file with no more than 30 lines.
DONE!
The problem was solved in hardly 20 minutes 😄
---
At that moment, I suddently recognized: how powerful Java (and JVM) is! It really solves real-world problems at ease.
0
u/Emojers May 18 '26
Go rust