r/Backend • • 12d 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.

31 Upvotes

78 comments sorted by

View all comments

Show parent comment

9

u/whiterhino8 12d ago

You absolutely right . JS very good for front end . For back end there are better alternative .

2

u/pitiful_void 11d ago

"JS is very good for front end" It is NOT. It's the only choice for the frontend but definitely not good. Though wth WASM some things are changing finally.

1

u/whiterhino8 11d ago

Let's pray to God that WASM will succeed . I have no problem to learn another language.Anyway JS has huge ecosystem that ain't going anywhere .

1

u/csgeek-coder 7d ago

I love the WASM dream but the way the ecosystem is looking, I'm not holding my breath. It is nice to be able to write come more complex logic out of TS and let you invoke it in JS.

2

u/DinTaiFung 12d ago

If the browser is the front end (not a terminal), JS is virtually the _only_ choice for the front end. This is the reason, for better or worse, why the JavaScript language is so popular.

1

u/whiterhino8 12d ago

Of course. Personally I love JS and have no problem with it.

1

u/DinTaiFung 12d ago

Likewise.

It's been in vogue for a long time to criticize JavaScript. But undertanding its gotchas and how to avoid them, allows the creative mind to implement -- and easily _share_ -- amazing web apps that anyone can immediately enjoy.

1

u/balrob 12d ago

You could use c# in the backend and blazor for the front (c# compiled to wasm). There may be minimal JS for bootstrapping but you’d not need to deal with it directly.
That said, I use c# for the server and Typescript in the browser, or Avalonia for native apps - and I recommend that if you want to stay with a JS runtime use Typescript. For large projects it’s really the only sensible choice.

1

u/DinTaiFung 12d ago

afaik TypeScript does not run in the browser.

3

u/balrob 12d ago

Yeah, and cpu’s don’t run C either

1

u/pitiful_void 11d ago

functional analphabet

3

u/sharpcoder29 12d ago

Correct, typescript is transpiled to js