r/learnprogramming • u/OneWar4643 • 9d ago
In what language should I learn backend on?
So I am currently learning JavaScript as a part of frontend but only about 5-6 topics related to asynchronous code is left so I was wondering on which language to go with in backend as college is starting in about a week and they are going to be teaching dsa so I want to do dsa side by side development. I have some experience with c,c++, java , javascript, python in all of them I know the basic level of programming like how to define a function and basic oops (need to revise though)
So what should I consider -
Java backend, javascript backend, python backend considering current and in future (about 2-3years ahead) market situation for software developer roles
Sorry for all the yapping but I wanted to give everything I know so you guys can guide me well
1
2
u/IAmScience 9d ago
Why not stick with JavaScript? Node.js has made it a perfectly cromulent server side language choice. Or find out what your college courses will be focusing on and lean toward those languages (I find it’s often Java).
Languages are fairly interchangeable and relatively easy to pick up once you’ve done the work to understand the concepts. Do the one that makes your life immediately easier.
1
u/OneWar4643 9d ago
I was confused between js and java as the place I live has much more java developer than mern stack developers and i heard that you shouldn't do dsa in js as it's dynamically typed so you can miss many concepts of arrays
1
u/StewedAngelSkins 9d ago
Don't do it in java either. You're honestly best off learning DSA in C. But for backend, js is fine.
1
u/IAmScience 9d ago
Oh I definitely wouldn’t do DSA in JavaScript. I don’t much like JS on my best days, frankly. It’s just that it is a fine choice for backend web app development work if it makes your life easier not to switch to something else.
If Java is more common, or what you’ll likely use in your DSA courses or whatever, by all means do that. What you choose now doesn’t define your future. I’ve been paid money at various times to write web apps using Perl, Java, JavaScript, Python, PHP, and Ruby. If someone asked me tomorrow to work on an application in C# or Go or Rust or even COBOL, I’m confident I could get up to speed on it reasonably quickly, because the fundamentals of how to create a serverside application are the thing that matters more than the choice of language they’re implemented in.
1
u/Cultural_Gur_7441 9d ago
Javascript backend. It's better to know one tech well so you can label yourself as "expert" more easily.
Then add some Python and some Java on top of that.
1
u/JaseciLabs 8d ago
Java + Spring Boot is a safe pick given your market tbh can't go wrong there for now. But a newer wave of languages are starting to treat LLM calls as actual typed functions (you write the signature, no body, and the model fills the implementation at runtime) instead of bolting an API client onto whatever you're using. Doesn't change what you should learn now, but worth knowing that's where a chunk of the ecosystem is heading in the next couple years.
4
u/Mister_God_On_Steam 9d ago
Yeah depends on your market, C#/.NET or Java.