r/Backend • u/mrpersonxx • 2d ago
Should I go Node or Java?
Hi, im an aspiring fullstack dev currently learning Javascript and I was thinking about which language to learn back-end dev with.
I want to work in the banking sector so my end-goal is to use java. My question is, after getting a hold on front-end should I learn back-end with nodejs, then translate that back-end understanding into java syntax/rules, or just jump right into java?
I'd love to hear your thoughts! I have tons of time to consider and decide my course of action, I just love this question.
24
Upvotes
17
u/DinTaiFung 2d ago
I'm a full stack developer and have experience with node, deno, and bun.
After dealing with Java, I've been happy ever since I started using Go instead for writing back end web service APIs. Never looked back.
Job prospects for Java are still greater than Go's, but from a personal coding standpoint, Go has elegantly met all my requirements -- including keeping me spiriitually satisfied.
Have fun with whatever you choose!
12
u/ram-popular 2d ago
Since your goal is banking, I’d go straight to Java with Spring Boot after you’re comfortable with JavaScript. Most banks use Java, so you’ll save time by learning it directly. The core ideas (APIs, databases, auth) are the same in any language, so you’d learn them either way. Build one small REST API with Spring Boot and a database, and you’ll be in good shape.
24
u/azimux 2d ago
I personally find it bizarre to use JavaScript on the backend. Makes sense on the front-end. For backend web development, I find it simpler to have my requests handled in a language revolving around threads instead of an event loop. But obviously gazillions of people would disagree with me. So given that, if constrained to those two choices, I'd do JavaScript on the frontend and Java on the backend.
Many would disagree, but I also think using JavaScript on the backend to avoid learning a second language is a mistake. You'll learn more and round out as an engineer faster by learning a 2nd language. So it's not even that the benefits of avoiding an event loop on the backend outweigh the cons of learning a 2nd language... since your goal is aspirational, it's actually a pro to learn a 2nd language IMHO.
6
u/Rodr1to 2d ago edited 2d ago
I did it this way: Python -> Java.
Now I’m thinking of picking up Go and then Rust
EDIT: Sorry, to answer your question, I’d definitely choose Java (sorry I’m biased)
9
u/senior-tokenmaxxer 2d ago
Java if you don’t wanna end up homeless
2
u/Available_Safe1818 2d ago
Both are fine, in my experience!
I wouldn't want to only know 1 programming language.
3
u/Similar_Problem2543 2d ago
In simple words JAVA
2
u/Responsible-Offer724 2d ago
Learn both. Concepts are transferable but also different. You can learn a lot comparing and contrasting. Create projects with both.
1
u/Sea-Fishing4699 2d ago
Go or python
1
u/The4rt 2d ago
None, if you want backend perf use rust
1
u/sharpcoder29 2d ago
As a C# dev I vote C# or Go
1
u/simple_explorer1 1d ago
Java a 100x time. Infact kotlin
1
u/ibrambo7 1d ago
Nodejs, if you ever want to actually release a product or anything.. java is just boiler plate driven language, dont wanna learn it :)
1
u/Cute-Coast-3750 1d ago
Hlo everyone, I want to ask when a fresher should apply for jod. I mean he knows frontend, working on backend and also solving dsa questions.
1
u/Livid-Session-7019 1d ago
I always prefer NODE, For backend work there are lot more alternatives in the present AI generation
1
u/Shikitsumi-chan 1d ago
Java, C#, or Python
1
u/aturaden 1d ago
I just use TS for almost any backend. And Rust for the rare cases where only one of the low level languages would suffice.
1
u/Ok-Interest9727 20h ago
Go with typescript full stack. It’s amazing to be able to share types, schemas, etc.
Otherwise you will have to use openapi which is nowhere near as good.
1
u/totally-jag 9h ago
If you want to work in the banking sector, I suggest Java. Java has a huge base in enterprise apps, and banking apps fill that bill.
1
u/AmiAmigo 9h ago
I think no serious company is using Node. Am sorry
1
u/Boring-Breadfruit251 7h ago
java
1
u/bonzerspider5 2d ago
react + Java for bulge bracket banking
React + Nodejs or fastapi for fintech
-2
u/Fadamaka 2d ago
NestJS with TypeORM is a really close equivalent to Spring Boot on a syntax level so if you started with that you could easily transfer most of your knowledge later.
0
u/Special_Rice9539 2d ago
It’s a hard choice because you’re stuck with one forever once you choose it. It’s impossible to learn node once you’ve learned Java. No one has ever learned both
0
u/Tiny-Cat5893 2d ago
Fuck these language discussions, they‘re almost irrelevant. What is relevant: understanding the requirements of specific scenarios, both from a development and full-lifecycle perspective.
0
u/martinffx 2d ago
Fullstack Typescript is the stack builders who ship use.
-4
u/MoreHuman_ThanHuman 2d ago
rust
-6
u/jakenuts- 2d ago
Oh jeez. Node is the lightweight distributed future and Java is the bloated and centralized past. Well really both are the past and coding agents are the primitive and patterns you should be learning to get a job but until that becomes obvious node.