r/learnjava • • Jun 17 '26

Java or python help me to choose one

Hey everyone, I am about to start my 3rd year in July ( CSE )

​

Currently I am on a career path of learning system administration then linux after that DevOps and then cloud

​

And on the coding side I just know C programming till if and if else and I have not made any projects so clearly i am starting from scratch.

​

So previously I had a doubt between choosing C++ or java and 95 people said go for java and after learning java basics do DSA in Java and i know that language does not matter for DSA but for the programming skills and development side i want to follow a correct path

​

And now I was about to start java with DSA but now I spoke with few people who are in big tech and they are saying learn python and do DSA because python will be easy to learn fast and also in interview like for Google, Microsoft,etc python will help because in java it might be confusing to write extra code in java

​

So my long term goal is towards Cloud, DevOps SRE side

​

So finally

My mind says Python

But heart says java

​

And i am from tier 3 and I'll be trying for off campus internship in December

​

So please do guide me on what to go for because I don't want learn in the wrong way .

4 Upvotes

40 comments sorted by

View all comments

1

u/BigBad0 Jun 17 '26

For your goal towards cloud or devops SRE positions, python is more suitable. Java and python are used heavily in many areas as well as dotNet, JavaScript, Go and kotlin. I vote for python for you (or kotlin) even though I am 10+ years Java dev. In Enterprises whom are picky about what exactly tech they are using, Java or even DotNet might be good to interact with but if you really got Python to do some web apps, any other wont be that much different or harder. Moving between techs is not that hard to get the job done. To master and utilize it to your own well and make your life easier, that is another story. I have used mainly Java but have written also Python, Groovy, Kotlin, TypeScript, C++ and Go. I personally like Java though.

1

u/Deep-Summer9677 Jun 17 '26

And if I am preparing for big tech companies like Google microsoft then ?

1

u/BigBad0 Jun 17 '26

Would not make any difference. These companies are whiteboarded, no language strictness. Solving problems and dsa are priorities regardless of the language.

1

u/Deep-Summer9677 Jun 17 '26

Hmm so can I go with java and then python ?

1

u/BigBad0 Jun 17 '26

Of course or reverse. But my advice is take a look into both, decide which personally like writing more then stick to that and dive deep into only one and get good at it then feel free to move to whatever else if you do not like this one anymore.

1

u/Deep-Summer9677 Jun 17 '26

Thank YOU so much brother may i know what are you doing currently ?

1

u/BigBad0 Jun 17 '26

I am backend dev and you are welcome :)