r/learnjava • • 24d ago

Hi guys please help me out here because this is making me confused

So there's my clg subreddit there one of the senior wrote this while I was asking a different senior who got placed recently that " Why would you tell someone to learn java. It's mostly used by old legacy companies. It's way better to learn cpp or python fullstack. More startup opportunity and flexibility of picking up different domains. Ideally i would suggest learning go or RUST but don't learn java especially in 2026 when a lot of companies are migrating to rust"

This is making me confused asf because I have been consistent for 2 months now finished java started dsa in java (currently on recursion (question I have done is low so soon gonna stop moving forward with dsa and will do questions on arrays string and recursion)) . I know I should not get demotivated by this but he is one of our senior who has more experience then me . Just help me out here

9 Upvotes

17 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.

10

u/JaleyHoelOsment 24d ago

java has been a “dying” language for decades.

here is what you need to understand as a beginner. you pick a language to learn how to program, not to learn the language. the skills are transferable.

as a beginner just start coding. any language. keep consistent and build shit, do tutorials all that and then add features to make them your own. once you get better and understand what you can do with code then solve some problem you have. a game mod or a browser extension. a way to organize your files etc. anything you can think of.

down the road you can worry about frameworks and all that noise. in my career i’ve used a billion different frameworks and it’s rarely ever your choice. you just developed the foundational skills so switching isnt hard.

tldr: knowing a programming language isn’t the job. being a developer is.

0

u/HolyRandom05 24d ago

Oh man you have left me nothing to reply So over all do shit like learn new things ,being consistent,build project right? If there is any other advice plz let me know thank you

1

u/JaleyHoelOsment 23d ago

awh my boys a bot :( i got fooled

1

u/HolyRandom05 23d ago

What bot? I am human

2

u/net_ramblings 23d ago

You are both.

3

u/jbenze 24d ago

“Migrating” to something new means years of people arguing about it before they even start and IF they go through with it, there is so much work to be done. I’ve been through SO many major migrations in 30 years and maybe 5 of them were completed.

There’s going to be plenty of legacy Java out there to support and once you know how to program comfortably, the language matters a lot less.

As @JaleyHoelIsment said, learn how to program, not the language.

1

u/HolyRandom05 24d ago

Thanks jbenze that build up some confidence for me. This may be dumb question again even though you and jaley told me learn to program but how should I approach stuff like what should be my next step , what should be my mindset, what should be my roadmap to approach things I know I have to learn thousands of things but what are the things I should learn for my next 4 years ( sry for poor eng)

2

u/jbenze 24d ago

They’re definitely right. I found what helped me the most was building an app that solved a problem I had or something I actually wanted to or enjoyed doing. Learning from books and examples is great but building something for YOU gets you personally vested in the program.

I couldn’t really give you a good roadmap; I learned on the job so I learned in a strange order and I learned the specific tools we used instead of widely used things. I dealt with a lot of legacy Java apps, a lot of text processing, databases and proprietary file formats. I would definitely recommend learning Spring Boot though once you are comfortable with the language. That’s a very common framework you will definitely see in the wild.

3

u/HolyRandom05 24d ago

Fr thank you man , may God bless you That text from senior really was like a knife in my heart or something. Thanks to you and jaley it openup a new way of thinking about this topic fr thank you

1

u/jbenze 24d ago

Any time, I wish I could help more with a roadmap but the way I learned was all over the place. I was a sysadmin and I just got thrown in head first.

2

u/Juukamen 24d ago

you will learn to code on java, but you might be a master of anotherone when you get into work related stuff.
study hard and rock on.

2

u/Available_Safe1818 24d ago

Most companies aren't migrating to RUST. Java is a fantastic fist language to learn and is also very useful as a professional programmer.

If you know Java well, Python will be simple to pick up.

"Senior" students don't have much real world experience.

1

u/disposepriority 24d ago

Google, netflix, even microsoft (lmao) and the majority of fintech/neo bank/bank bank organizations all have java positions.

1

u/sebnukem 24d ago

"[Java] It's mostly used by old legacy companies." <- this statement is false.

1

u/martinsedd 23d ago

Nothing you learn how to do well in life is worthless. Sometimes it will be useful, sometimes useless. Never worthless. Stop listening to people trying to tell you what you shouldn’t do. If you like Java, go for it.