r/learnjava 24d ago

java vs python for backend as a fresher?

hello. i'm confused abt choosing btwn java and python for backend. which one do you think will be more useful in the future? i'm a fresher and i enjoy programming in java, but if i want to transition to data roles in the future, learning python will be beneficial right? so i'm torn btwn the two. pls help me choose based on the current job market. what are your experiences with backend java?

0 Upvotes

12 comments sorted by

u/AutoModerator 24d 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:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

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.

13

u/Astroohhh 24d ago

lol, just learn something bro, you ain't getting no job anytime soon

7

u/Kaikka 24d ago

Whats stopping you from doing both?

9

u/EntrepreneurReady325 24d ago

You don't need any of them until you learn to search for information and use it to make decisions on your own. This question is asked here almost every day

https://www.reddit.com/search/?q=java+python&cId=794e7433-595e-4e0c-84ce-3beb3bf37074&iId=8f8a5193-93ea-46d4-8242-50c76df7a42a

but instead of using the search engine and your own brain, you're asking it for the 100,500th time.

1

u/mofomeat 23d ago

I'm baffled at how frequently this comes up here.

3

u/Spirited_Guy_9780 24d ago

Enterprise-scale, banking, fintech, long-term stability - JAVA
AI/ML, automation, startups, rapid prototyping - PYTHON

after all, it all depends on you

1

u/Potential-Still 24d ago

Whatever decision you make right now will have literally NO impact on your future career.

1

u/daiki9sinedo 23d ago

Ok in my opinion i use java and spring framework for backend and if u have to do something related to data u could use also java, i know that wierd but hear me out , there's a lib called "smile" u can use it for machine learning and deep learning , it will element one of the biggest issue u well face if u going work on java and spring env like creating a bridge between the python ml model and java env. But if u want to use python it's good choice

1

u/therohitpatwa 20d ago

Fu*k Learn anything you are not going to get job in this market.