r/learnprogramming • u/Positive_Field_5902 • 6d ago
Should I stick with Java for both backend and LeetCode if I have six months to prepare for an internship?
Hey folks, I’m a third-year CS student on the software engineering track. I have about six months to prepare for my required summer internship, and I’m aiming for a backend role.
I’ve used Java in my OOP course and I’m fairly comfortable with it, but I haven’t built a backend project yet. I also want to get better at data structures and problem solving. I’m considering two options.
- Stick with Java for both backend projects and LeetCode since I already know the language.
- Learn Python for backend and use C++ for problem solving. Python appeals to me because I’m interested in AI.
With six months to prepare, which approach would you take? How would you split your time between building a backend project and practicing data structures and algorithms?
Edit: Thanks to everyone who took the time to reply. I really appreciate all the advice
6
u/Calligrapher-Whole 6d ago
Depends where your internship will be and what's the focus of the company. Large corporates use Java very often for their backends. If I were you instead of grinding leetcode I'd try out SpringBoot or JavaEE, Docker, CICD pipelines and look into microservice architecture patterns, since that is much more likely to be useful during a read BE development job
4
u/Eight111 6d ago
I'd stick to java for backend projects and learn python for leetcode, ai, and just general scripting.
1
u/Ok-Emergency-1825 6d ago
Java is a solid choice for both backend development and LeetCode preparation. Many companies still use it extensively, and the problem-solving skills you build with it are transferable. Have you looked into any specific frameworks for backend development you're interested in?
1
u/DragonfruitGrand5683 5d ago edited 5d ago
When I've interviewed programmers I've wanted to see projects, how it was planned, code with good error catching, good problem solving, good structure, good GUI design and attention to detail.
Build a Java project that would be useful for a small business, give it to them, get the feedback.
Now you can show me a project, you can show me you networked, you are customer facing, and you have a reference.
2
u/recursion_is_love 6d ago
Yes, generally; it good to be good at one thing than average at many things. Learn/try what other said it is better only after you get the job.
Squeeze the most of your Java skill out!
1
u/edwbuck 6d ago
Java is still huge on the backend. I'd know both Spring Boot and Quarkus, with Quarkus being the next hot thing.
Python can be used too, but it's more for the "we don't care about performance" and "just use the programmers we have to throw out something" crowd. Those websites tend to get updates into Golang, Java, and Rust when Python can no longer carry the load.
https://activetechsystems.com/blog/computer-languages/comparing-backend-languages-python-rust-go-php-java-c-node-js-ruby-and-dart/ f
1
u/danielinnov8 6d ago
the thing that'll actually get you the internship is one backend that's live with a link on your resume. auth, a real database, and one annoying feature like file uploads or webhooks, because that's what interviewers dig into and it's where you learn the stuff leetcode never touches. java for both is fine, an hour of problems a day next to the project, not instead of it
1
u/ComputerWhiz_ 3d ago
If you know Java, stick with Java to get a deeper understanding. Even if your internship will not end up being Java, the skills are mostly transferable.
Is grinding Leetcode the best way to learn and improve? I'd say no. Leetcode is a very specific style of question. I think you'd get more value from building a small project or something.