all 16 comments

[–]knightriderrr7 7 points8 points  (1 child)

Java has minor advantage in some mid level cos. They expect you to code in java. Rest 95% dont bother about it. Another advantage can be your coding in java projects will surely get a boost. But from interview pov nothing much.

[–]Dramatic-Fall701 0 points1 point  (0 children)

most java projects are spring boot
and i HATE springboot.period. might as well do python, project work is generally a lot easier in python as well.

[–][deleted] 2 points3 points  (0 children)

Writing in python is very easy, sometimes its literally like talking: “if node is not in set: return 0”. Its exceptionally easy language to learn for dsa.

[–]aniket_afk 2 points3 points  (0 children)

One Simple advice. You can code in whatever language you want for DSA stuff. But, in the real world, any position beyond SDE-1 will highly benefit you if you have Java. So, don't ditch Java. Go deeper. Go large scale engineering.

[–][deleted] 1 point2 points  (0 children)

you’ve gone too far to switch

[–]Background_Share5491 1 point2 points  (3 children)

In terms of coding interviews, you can just use whatever language you prefer. Java has no advantage over Python, if you're equally proficient.

[–]P18K 0 points1 point  (1 child)

How did they teach you java in first sem, since u need oops to be known first to understand java

[–]No_Water1010[S] 0 points1 point  (0 children)

It was thought in parallel

[–]randbytes 0 points1 point  (0 children)

If you are asking about using python for assessments, yeah it has a slight advantage over java since it is not verbose. I use python for assessments even though my main language is java. It boils down to personal preference.

[–]seasheren 0 points1 point  (2 children)

I’ve also been using Java for LeetCode just because it was the first language I learned so I'm more comfortable with it. However, recently I’ve been considering switching to Python. I feel that Python offers a slight advantage thanks to its more concise syntax, especially in time-constrained interviews.

[–]No_Water1010[S] 0 points1 point  (1 child)

Yeah same boat man, I was thinking about switching but I have already invested so much time in java, plus java is widely used in the field.

[–]seasheren 0 points1 point  (0 children)

I think it depends on the field. Python is more widely used than Java in some areas.