r/node • • Aug 12 '24

Should i choose nodejs?

Post image

Should i choose nodejs?

I recently started learning MERN. I can create crud websites. As a newbie i am confused with choosing a backend. Heard most companies prefer dotnet or Java springboot . These are my concerns:

  1. Is this a fact or a rumour?

  2. Why is nodejs that not much popular popular?

  3. Will the scenario ever change in future?

Give me facts and figures to support your claim

Incase you support nodejs, provide some good resources.šŸ“š

662 Upvotes

133 comments sorted by

73

u/AntDracula Aug 12 '24

If the M stands for MySQL or anything except MongoDB, sure.

36

u/Shogobg Aug 12 '24

But mongo is web scale

86

u/AntDracula Aug 12 '24

Mongo only succeeds in scaling my frustrations.

3

u/CodyTheLearner Aug 13 '24

Have you tried setting it to Wongo? Ya know, Wongology, the study of Wong

0

u/GoodishCoder Aug 12 '24

I like mongo for most things

9

u/AntDracula Aug 12 '24

My condolences.

4

u/GoodishCoder Aug 12 '24

I haven't really run into any issues with it lol

2

u/sysrage Aug 12 '24

I support you through all the downvotes you’re surely to receive. Mongo works great for a huge number of use-cases. Not everything needs to be massively scalable. The hate is unjustified…

0

u/[deleted] Aug 12 '24

[deleted]

1

u/MateusKingston Aug 15 '24

A lot they accomplished was slow down development

0

u/[deleted] Aug 15 '24

[deleted]

1

u/MateusKingston Aug 15 '24

It's still slower to do a lot of stuff.

Not saying relational is bad, it's not. It's also not the miracle DB.

People back then preached MongoDB like the miracle DB, now it's Postgres. None of them are perfect, none of them fits all scenarios.

3

u/stdiodoth Aug 12 '24

Is /dev/null web scale? If so, it’s better than mongo

11

u/LordChasington Aug 12 '24

Can someone tell me why anyone would want a faang job? Seems like it takes years off your life

1

u/BeingTomHolland Aug 12 '24

Just to be clear. The pic just to get peoples attention to the post. All i ask is ,is there enough jobs for nodejs like springboot or dotnet

3

u/ragged-robin Aug 13 '24

the mongo hype trend has died down at this point and everyone has gone back to relational, largely postgresql

node backend is also not that popular in the big corporate world, let alone FAANG

you'll mostly find MERN or MERP in smaller companies that were pioneering that trend from 5-6 years ago

-1

u/LordChasington Aug 12 '24

If you are entry level I wish you luck. AI and cuts are making the junior jobs nearly non existent

3

u/LordChasington Aug 12 '24

Down votes and all, it’s still true and you will see it more and more

0

u/HackingLatino Aug 13 '24

$$$$

I wouldn't mind, heck I wish I were working 80 hour weeks for $160k and that's what juniors get at FAANG, at least according to levels.fyi.

Instead I'm working at a startup for much less and a not that different WLB. Imma go back to grind LC now.

6

u/jedenjuch Aug 12 '24 edited Aug 12 '24

E in mErn stands for expressjs which is node framework

Am I missing a joke?

18

u/SeLFiShGeNe05 Aug 12 '24

The joke is that in FAANG they don't use MERN stack at all.

1

u/BeingTomHolland Aug 12 '24

yes. There was no joke. I was asking about switching from js backend ecosystem

5

u/[deleted] Aug 12 '24

ā€œChooseā€ it for what? If you seriously want to be a developer you probably should be comfortable learning it as well as other backend languages. Across your career it’s unlikely you’ll only write in one language

3

u/BeingTomHolland Aug 12 '24

Ok. Noted. Just wanted to clear the fomo

3

u/PerceptionOk8543 Aug 13 '24

How do I switch job to another language tho? I have 3 years of experience in node. If I wanted to write Java now, nobody would hire me as they usually have a requirement of 3+ years of professional experience using Java… It’s impossible to switch, especially in this market

2

u/[deleted] Aug 13 '24

In my experience you just get hired somewhere and the new place has a different stack haha. I’d only known node as a backend language but I got hired somewhere that had a python backend, I think this is pretty common

2

u/PerceptionOk8543 Aug 13 '24

But how do I get hired there? When their listing says ā€œJava commercial experience requiredā€ and my CV goes straight to trash if I don’t have it? Not even a chance to talk and show them that I’m capable of doing it. Maybe this worked in a better market, but now they are extremely picky

2

u/[deleted] Aug 13 '24

Yeah idk man it’s not easy. Unfortunately just need to bolster your resume with skills you might not fully know to get through the HR bots. Market is garbage, definitely harder than it used to be

1

u/MateusKingston Aug 15 '24

Some jobs require experience with X language, others don't.

Also I'm not saying to put that you use X language in your resume if you don't...

6

u/MegaComrade53 Aug 12 '24

Here's a serious answer on what to learn to help you set yourself off right:

Frontend: JavaScript, typescript, react

Db: mysql or Postgres. Mongo has its uses but a majority of established companies are using mysql or postgres for their main db

Backend: learn C# + .NET or Java + Spring boot. They're very similar and teach you OOP, how to create an API, and work with an ORM. The skills you gain from either of these translates well to everywhere. If you start with js on the backend you won't learn about how to work with a proper ORM and OOP and you'll be playing catchup when you have to work with them later.

.NET or Spring boot knowledge will also teach you how to use Django for Python or Rails for Ruby. If you ever join a company using those then you have the foundation in place and just need to learn the language's syntax

2

u/BeingTomHolland Aug 12 '24

Thank you. Liked the way presented the points

3

u/SorryPop3557 Aug 12 '24

why are you asking after you have already started it and created projects ?

1

u/BeingTomHolland Aug 12 '24

Just to make some clarity on the situation

2

u/tr14l Aug 13 '24

C#/java for backend (almost always .NET or Spring Boot, respectively) and angular with typescript for the frontend. DBs can vary, but not a lot of mongo.

In the startup world it can vary a lot more and a lot of java shops are adding kotlin into the mix just so they can stop writing java because... Well, it's java.

1

u/BeingTomHolland Aug 14 '24

Thank you. Just out of curiosity, why moving away from java to kotlin?

1

u/MateusKingston Aug 15 '24

Kotlin shares a lot of the same upsides with far less syntax bloat.

Java is good because of the JVM and despite it's syntax. Kotlin solves most of that.

1

u/tr14l Aug 16 '24

More modern syntax, kotlin transpiles so you can reuse code between platforms (mobile, server, UI, etc), smoother patterns that are native, so less code to break. Pretty win-win all the way around

1

u/ILikeSayingHi Aug 16 '24

This very well may be the worst stack I’ve ever seen proposed in 15 years.

1

u/tr14l Aug 16 '24

Oh yeah, no argument. That's just what large enterprises almost always use. Awful stack

153

u/lWinkk Aug 12 '24

TypeScript + Java is the typical corporate stack.

30

u/the_ju66ernaut Aug 12 '24

Depends on the place. A lot of huge enterprise LoB apps are written in .net as well

12

u/rover_G Aug 12 '24

It’s hard to nail down a ā€œtypicalā€ corporate stack. Going off the Stack Overflow developer survey: JavaScript/TypeScript, Python are extremely popular across the industry but probably most popular at startups. Java, C# are very popular and probably more used in large companies. PHP is still hanging around. C++, C, Go and Rust have varying levels of popularity and all fit into certain niches. Kotlin, Ruby, Dart and Swift are definitely niche languages. I would expect to find corporations with dependable demand for all those languages.

1

u/sblinn Aug 13 '24

Plenty migrating to Go to reduce memory footprint in our age of containers. Ask me how I know.

2

u/lWinkk Aug 13 '24

That’s what I have been learning since last week. Not too hard to pickup with a JS background. Marshalling stuff was a tad awkward at first. Still is but we getting there.

1

u/UnfairerThree2 Aug 13 '24

How do you know

1

u/sblinn Aug 14 '24

Currently working in that space thanks for asking :)

0

u/[deleted] Aug 12 '24

[deleted]

8

u/ragin_cajun Aug 12 '24

I work in consulting, and I've worked with Java plenty. Our individual experiences don't matter much though. I don't know where you pulled that 4.9% from, but the latest Stackoverflow survey puts Java just above C# in usage over the last year.Ā 

https://survey.stackoverflow.co/2024/technology#most-popular-technologies-language-prof

3

u/[deleted] Aug 12 '24

Depends on area, in my city I know ALOT of companies use C# over Java

1

u/ragin_cajun Aug 12 '24

I believe it. Both are popular, and great choices.

3

u/U_L_Uus Aug 12 '24

It's almost as if they share a lot of traits innit

1

u/ragin_cajun Aug 12 '24

Yeah, it is almost like that 😁

1

u/[deleted] Aug 12 '24

I’m still new to the industry, or coding tho. Why haven’t most companies migrated to something like Go? I’d ask the same for rust but I totally get why no one would want to learn it haha.

4

u/ragin_cajun Aug 12 '24

In my experience, it comes down to money. You can get more modern features in newer versions of Java, but some companies choose to stick with Java 8, 11, etc instead of moving to 21+. Why? Because it costs money to upgrade, whether that's cost to upgrade existing services (potentially very expensive), or cost to train devs on new language features.

Why would you migrate to Go if you have something written in Java that works?

2

u/MateusKingston Aug 15 '24

Because the best tool isn't defined by what perform best in a benchmark or what is technically superior.

You have hundreds of thousands of Java developers with huge experience with the language, in turn hiring a Go developer isn't that simple. Hiring a Go developer that actually knows how the language work is almost impossible (without paying absurd amounts)

1

u/[deleted] Aug 15 '24

Makes total sense, thank you.

0

u/[deleted] Aug 12 '24

[deleted]

1

u/ragin_cajun Aug 12 '24

I think the survey I linked to was for professional usage in the last year, but that doesn't really matter too much for my overall point. Java is still used, just like C#. Either are a good choice for production-ready development.

I'm curious, why do you loathe Java?

1

u/[deleted] Aug 12 '24

I don't like the syntax, its missing a lot of features I like from c# and kotlin.

I love kotlin and I love the jvm. I just don't like Java the language.

1

u/ragin_cajun Aug 12 '24

Fair enough. Kotlin is nice to work with.

1

u/MateusKingston Aug 15 '24

You're trying to his source is a popularity while linking to another popularity research.

W3techs literally says so in their page. It's just a sample of web systems usage. Regardless of underlying tech (for example ready made wordpress count as PhP). This is a popularity contest...

It's also not even that relevant, they are crawling publicly available websites, SO is much more than that.

1

u/eurodollars Aug 12 '24

Work at AWS, it’s a lot of Java. Like a lot of Java.

0

u/[deleted] Aug 12 '24

[deleted]

2

u/Automatic_Coffee_755 Aug 12 '24

What is it there?Ā 

2

u/femio Aug 13 '24

In enterprise LA seems to be mostly Java, .NET, and Node

38

u/cinnapear Aug 12 '24

Depends on what you're building.

21

u/scoot2006 Aug 12 '24

100%

ā€œIt depends,ā€ is almost always the right answer to any, ā€œshould I use X technology,ā€ question.

20

u/TheRealKidkudi Aug 12 '24

I used to joke that you could tell how senior a developer was by how often they answered a general question with ā€œit dependsā€. The more specific a question gets, the probability of an ā€œit dependsā€ starts to diminish, until you reach a certain point of specificity and then it skyrockets.

Along the same lines is the advice to be cautious when someone senior asks a really simple question.

If a principal starts to ask something like ā€œwhat is a string?ā€ in the middle of a technical discussion, I’m hitting my mute button at the speed of light.

4

u/Shogobg Aug 12 '24

Can you elaborate on why you mute yourself after that question?

3

u/TheRealKidkudi Aug 12 '24

Because they’re usually going to drop some deep knowledge that will make you look stupid for not knowing or for giving the simple answer.

Mostly I’m being facetious about muting myself immediately, but if they’re asking something that seems overly simple it’s usually because they’re getting at a fairly low level or deeply technical point that was missed, which can make the implementation look foolish. In reality, I just make sure to put more thought into my answer than I usually would.

2

u/damnburglar Aug 12 '24

Woah now, calm down. Are you suggesting we don’t just go whole hog on the latest and greatest and focus on maximum scalability for scenarios we will likely never encounter? How are we supposed to hit the golden ratio of 100 microservices per 10 users?

4

u/scoot2006 Aug 12 '24

Well, it depends… haha

I feel you. ā€œIs this solution scalable?ā€ is a trap of a question at times.

5

u/damnburglar Aug 12 '24

I’ve had meetings about scalability issues for internal tools 🤣

Resume-Driven Development strikes when you least expect it heh.

4

u/scoot2006 Aug 12 '24

My favorite is when something’s been architected, developed to MVP, released to production and THEN someone adds scalability requirements. Usually some standard numbers they use for other apps.

It’s like telling someone to buy a vehicle because you need them to go somewhere, having them propose getting a [insert favorite car here] which you approve, and then when they show up with said car to ask where you need them to go and you say, ā€œthe moon.ā€ šŸ¤¦ā€ā™‚ļø

1

u/MATTDAYYYYMON Aug 13 '24

its the answer nobody wants to hear but is almost always correct

11

u/recycled_ideas Aug 13 '24

Is this a fact or a rumour?

A fact.

Node is great, node has some very specific strengths, particularly in the microservice and integration space. Running a moderately complex monolithic backend on it sucks and even with typescript, lacking runtime types in the backend is unpleasant.

Even if that weren't true most companies have legacy projects that predate node.

Why is nodejs that not much popular popular?

See above.

Will the scenario ever change in future?

No.

Beginner JS devs love MERN because it's JS all the way down so it's easy to understand, but you'll struggle to find enterprise employers using anything other than the R, including in the FAANG space.

Node is awesome where it fits. React is awesome. Express is serviceable, but worse than equivalent frameworks in literally any other language. Mongo is shit.

I know you like Mongo because you can query it with JS so you don't have to learn anything else, but it's not even a good nosql implementation and most enterprise data is relational.

Ditch MERN.

Learn SQL, learn react, learn node and understand where it fits and where it doesn't. Learn the patterns in express, they're fairly common.

Forget Mongo.

20

u/Weary-Depth-1118 Aug 12 '24

take out the M nobody uses mongodb use psql

7

u/jernau_morat_gurgeh Aug 12 '24 edited Aug 12 '24

Don't focus on picking the "right" technology. Focus on understanding whatever technology you're learning and being able to explain your code and how everything works. If you can't do that, then you'll not get a job, not even if you "know" the exact tech stack for a job you're applying for.

From a practical perspective it's probably easier to stick with a single programming language initially, especially if you're struggling. Or try a few things, then dive deep on whatever is easiest / most exciting / clicks the most for you, to ensure you've got that deep level familiarity and capability of explaining your work.

IMO the best approach is to get really good at one thing/stack, and then switch parts of it for others, reflecting back on the similarities and differences and what the advantages/disadvantages are. Repeat this a few times and spend a couple of years in the field, possibly branching out to other disciplines, and now the tech stack doesn't matter much anymore and you can apply for almost any job as now you've got the skills to pick up a new technology or programming language quickly.

7

u/martin_omander Aug 13 '24

Two thoughts:

  • If you want to work for a large enterprise, learn Java or .NET. If you want to work for a startup or a medium-sized business, learn Node.js.

  • Having said that, never bet against Javascript/Typescript. It is eating the world.

3

u/[deleted] Aug 14 '24

Yeah having read a lot of the opinions in this thread, I think this sums it up best.

2

u/HakerHaker Aug 13 '24 edited Aug 14 '24

Hi. Lots of conflating answers and opinions. Here's mine that I firmly believe in.

If you want the best chances for an enterprise job as a web developer, your BEST bet that covers the MOST use-cases ACROSS industries is going to be golang hands down.

And then a little context knowledge about microservices will actually land you the job. As a dev, you'll rarely have to deal with any type of ci/cd, orchestration, etc. The most you'll do as a dev is write a docker file and hopefully leave the rest to your dev ops team.

Golang and microservices go hand in hand and will teach you implementation and architectural patterns that may otherwise take much longer to coalesce into your own intuition. And that knowledge will be EXTREMELY translatable to other tools/languages.

As others have mentioned, certain mission critical industries like banks or healthcare are perfectly happy maintaining "legacy" codebases in Java or php. Legacy as in older technologies. They work perfectly still, and management can trust it has been proven to work which makes them happy which will make it easier to interface with them which makes you happy :) (obvs it's important to learn the technologies used in the industries you want to work in)

Edit: I should add a caveat. What I described with golang and above is the meta for enterprise, but is a big no no for most personal projects (unless you're learning) or startups because of the slow iteration pace in comparison to just spinning up your frontend in your favorite TS frontend and then a quick and dirty elysiajs/honojs/expressjs/fastify backend also in TS.

Edit 2: sorry didn't read your post thoroughly enough. Since you're still learning the full stack dev experience, you should do as another commenter stated, just start with nestjs. Think of it like any other JS backend that has batteries included. Usually I didn't like opinionated frameworks, but nest has excellent docs for beginners and forces good practice/patterns onto you. That will translate extremely well to golang once you're ready :) That's actually what taught me the fundamentals of backend back in the day

Edit 3: I don't even like go, I much prefer rust or TS for my own backends. My personal projects don't pay bills šŸ˜‚

1

u/BeingTomHolland Aug 13 '24

Thank you for your honest reply

2

u/HakerHaker Aug 14 '24

If you do want to stick to TS backend, elysiajs and honojs are the most performant. Nestjs for education

5

u/Professional-League3 Aug 12 '24

1.Yes the rumors are true. Usually java/dotnet job usually pays more and can have more opening depending on where you are searching for it.

2. node js is quite popular, it is compets on same or even higher level then java/dotnet its just that large cooperation doesn't need developer velocity and diversity in numbers of framework/library. For I/O bound task node.js is quite popular and specially for start-ups.

3. I think the scenario has changed, node was and always will remain very popular but other languages like go might come victorious in the upcoming decade. One more thing .net and java will always have a place until every company abandons their project or the.net/java ecosystem stops evolving.

5

u/jad3d Aug 12 '24

Companies will against node on the backend due to the security sketchiness of npm packages.

Also they're often founded by backend folks who thumb their nose at node.

There is no dominant backend language. You can pick them all up as you go based on the shop.

5

u/streetlogics Aug 13 '24

Not to be a downer, but it’s kind of a moot point now: FAANG is laying everyone off and slowly replacing us all with AI. You’d be better off learning how to work with LLMs and machine learning at this point.

I say this as a developer with decades of experience in almost all the stacks that’s been promoted to lead roles in every company I’ve been at that can’t get an interview for the life of me.

Even better is come up with an idea and leverage AI to your advantage to build it and learn how to be your own boss so you never need to rely on someone else to hire you ever again!

7

u/anonyminator Aug 12 '24

JavaScript developer from past 4 years. I handle both back end and front end of enterprise level applications.

I personally feel JavaScript is more intuitive and fun to code compared to other languages of similar syntax. Secondly I think knowing typescript really helps in developing type safe applications with javascript.

Learning node is a good choice if you've picked js as your poison. Just make sure to understand typescript before writing any code.

You will thank yourself later!

3

u/fagnerbrack Aug 12 '24

Go for MERD stack šŸ’©

1

u/TheOneWhoDidntCum Oct 16 '24

I prefer MERDE stack MongoDB ExpressJS ReactJS D3.js and EJS

3

u/Yarrokon Aug 12 '24

If you are wanting to learn something new to improve you skills for a job. Just look at job board postings. Research most googled languages, call a few head hunters and ask them what their clients are looking for. No reason to deal with the squabble going on here...

3

u/rover_G Aug 12 '24

MERN stack seems to be more popular at startups. Learn postgres to open more doors.

3

u/MinuteScientist7254 Aug 12 '24

If your backend is just handling API requests from a UI to access a database, node is fine. If you have many micro services doing various processing tasks, a backend handling streaming at volume, graphical processing etc, node may not be the best choice. Entirely depends on use case

3

u/_codemonger Aug 12 '24

This sounds like a LLM prompt, maybe you should consider using it.

3

u/rco8786 Aug 12 '24

Nodejs is plenty popular, Java is slowly dying but there's a ton of it out there.

Don't worry too much about it.

3

u/[deleted] Aug 13 '24

Leetcode ain’t no joke. Followed by a rigorous system design questions. Within the assortment of prepared questions. Then actually keeping a FAANG job going through what reviews say, office politics and heavy time based performance evaluations. It is a tough journey to go down for that big fat stack of cash.

Yes you should choose nodejs the community is great and the educational content is widely available.

5

u/CanBilzerianX Aug 12 '24

in 2024 : PHP > MEAN > MERN > Python

(Not a serious comment. Just use what you need)

in 2024 PHP is better than you think btw. Just a quick note.

2

u/Mikedesignstudio Aug 12 '24

I can’t believe you typed those 3 letters. That’s like kryptonite to people in this sub. How dare you be so brave and inconsiderate.

2

u/[deleted] Aug 12 '24

Isn't it MAANA now?

2

u/LankyVeterinarian321 Aug 12 '24

I would say c# and Java would suit better for a fang job js meh

2

u/rhinestone-cowb0y Aug 12 '24

I’ll start by saying , things change a lot in the job hunt , I like you focused on mern and psql for my graduate search.

Alot of jobs I saw also required typescript to some degree and continue to do so .

Node is good and a lot of companies use it for backend as it’s well supported by AWS lambda, azure functions and other serverless frameworks. I can’t speak for faang companies specifically as I live in Australia and haven’t pushed too hard to apply for those companies.

At the end of the day if you can prove that you can program to a good enough degree, the language becomes less relevant for a lot of web app stuff.

Speaking from experience I ended up starting my on SAAS startup as a mern dude. I’ve ended up writing apis in .Net and python, both I’ve learned since starting the startup to fit the specific needs of the project, and was able to learn this because of my foundation in node.

Choosing a stack to start with does not permanently alter your career path, just focus on building thoughtful projects and don’t be afraid to learn new stuff and you will be fine

2

u/mindtaker_linux Aug 12 '24

.net and Java are heavy on server resources.

The companies you're talking about are non tech companies. Most tech companies do not use Java or .net as their main.

2

u/Emotional-Top-8284 Aug 13 '24

There are some companies that are Java or .Net only shops, there are plenty that aren’t. It really varies.

Only thing I can say is that you’re probably better off learning a relational DB

2

u/wiseaus_stunt_double Aug 14 '24

Take this with a grain of salt, but from what I've seen, Node doesn't have a whole lot of use as a DB access layer in production sites. That said, Node is used a lot as middleware to consume other APIs that serve DB content. Whether as a server running an isomorphic application built on a framework like Next or Nuxt or running as a lambda, Node often won't directly access a database since other server languages are better suited to do that. Not that it's a deal-breaker since storing data in the cloud is so simple to use, and companies are moving in that direction anyway. There's isn't much need to manage server infrastructure in 2024.

2

u/marcoosvlopes Aug 16 '24

Yes and.. Yes!

4

u/MajorasShoe Aug 12 '24

DotNet is absolutely the strongest job market for backend development and probably will be for a long time. Startups and newer companies vary a lot, enterprise sticks to DotNet. In a down market, DotNet is the way to go - in an up market (which we might not see again for awhile), things like Node, PHP, Go etc gain a bunch of traction.

If you're looking for a job right now, or over the next year, it's hard to recommend node IMO.

-1

u/valmontvarjak Aug 12 '24

Java not .Net

4

u/MajorasShoe Aug 12 '24

I just don't disagree. Java still has a decent market but DotNet eclipses is in a huge way and has for awhile.

2

u/[deleted] Aug 12 '24

I recently switched from node to Kotlin and I'm having a blast. Don't get me wrong, node has its uses, but it still struggles to have stability in enterprise. Mainly because js in general is oversaturated with people reinventing the wheel and constant shifts in trends.

Also, depending on where you live, the job market for node may not be the best. In my country Java and C# dominate the market and it's hard to find node jobs.

1

u/TheOneWhoDidntCum Oct 16 '24

are you in europe?

2

u/evanvelzen Aug 12 '24

I would never recommend nodejs at my company because it's too hard to paralellize compute-intensive workloads.

1

u/MateusKingston Aug 15 '24

Why do you think that? Yes one instance of node is mostly single threaded but you can spawn more threads and manage them, or even spin up more instances...

Sure some stuff is harder to paralellize but not most.

2

u/Intelligent-Rice9907 Aug 12 '24

Here are the true facts. Nodejs is used out there in the world by many people, specially when you need its abilities like real time, websockets, asynchronous ability, single thread, large community and the best one the easiness to find developers.

What you find about companies using Java or .Net yes they use it out there too but JAVA is more used with banks and similars but is hard to find good developers with java, .net is used also by those brainiacs lovers of Windows but has a low performance compared to go, nodejs and even python when using AWS. I work in a large airline company and everything was made with Java and .Net, right now we are looking to move away from those specially .net because all of our servers go x2 times the cost vs one working with nodejs, go or python.

Startups and modern apps, companies and others use newer and fast technologies so there's a lot of jobs out there with MERN stack but not with MongoDB which was ruined by Mongo Atlas so everyone is moving away from Mongo so if you can, learn Postgresql and DynamoDB instead or whatever other Database that is popular

1

u/ogreUnwanted Aug 12 '24

Why is this so funny to me.

1

u/june07r Aug 15 '24

From my experience debugging Node.js > debugging Java. Particularly when using a workflow that encrporates Https://nim.june07.com V8 JavaScript for the win. Choose it.

1

u/MateusKingston Aug 15 '24

A lot of companies have backend in NodeJS...

Sure there MIGHT be more C# or Java (not sure) but it's by no means a irrelevant portion of the market.

That being said for LEARNING I don't think JS/TS is the best. You can program in them using proper design pattern, OO concepts, etc but it doesn't enforce it. You can also raw dog everything as an object and create atrocious habbits.

If you decide to use NodeJS just try to learn those patterns

1

u/[deleted] Aug 26 '24

No

1

u/azangru Aug 12 '24

Heard most companies prefer dotnet or Java springboot . These are my concerns:

Is this a fact or a rumour?

It's a fact that most companies use languages other than javascript for writing their backends.

Why is nodejs that not much popular popular?

Apart from a throng of bootcamp graduates, javascript/typescript has little to go for it as a back-end language.

Will the scenario ever change in future?

Unlikely.

1

u/[deleted] Aug 12 '24

I know MEVN, MERN, MEAN, and MESN!!

1

u/Cpt_Leon Aug 12 '24

Depends on their needs

0

u/[deleted] Aug 12 '24

[deleted]

44

u/overDos33 Aug 12 '24

How you can understand NestJS but you can't understand Angular, NestJS architecture is heavily based from Angular

18

u/letsbefrds Aug 12 '24

I am totally with OPs sentiment. My first job was a react/node stack. Then I got a legacy job C# + razor pages + jQuery. However during that legacy job there was an angular 2 project that was injected into the razor pages. I couldn't for the life of me figure out wtf was going on until I debug for hours. Granted I was a shitty engineer. I'm still a mediocre engineer, however now I understand If just sat down and put in the effort to figure out databinding + RXJS it would have probably paid off. I guess i was just trying to fight the framework because I only understood the react way and the old school JS/jQuery way.

That all being said, I never wanna see Angular again, so much that I transitioned to a backend engineer in my current role.

7

u/aimtron Aug 12 '24 edited Aug 14 '24

Your software architect is a bone-head if he/she is combining C# + razor + jquery + angular. They need to learn separation of concerns and decouple the C# (web api or graphql) back-end and the Angular (or REACT or any SPA really) ONLY front-end. Each should have their own SDLC.

1

u/thisisntmynameorisit Aug 14 '24

More like separation of concerns

3

u/ServesYouRice Aug 13 '24

Nest is just Spring with less code

1

u/haidar47x Jan 30 '25

just Spring

Have you seen the Spring ecosystem? NestJS is nowhere close to that.

0

u/[deleted] Aug 12 '24

[deleted]

3

u/overDos33 Aug 12 '24

Also they both use components and modules in the same way, similar dependency injection, guards,interceptors... Let's not forget one is for frontend development and the other for the backend, so it's normal to have some extra things in NestJS like repository,dto,controllers... I myself worked with both Angular and NestJS, so transitioning for me was very easy just for the reasons mentioned above

1

u/smartello Aug 15 '24

Everyone can read spring code, now try to change an enterprise app with 100500 dependencies where beans are defined somewhere and just appear to exist when you use them.

0

u/Emotional-Top-8284 Aug 13 '24

Idk about .Net, but i have found understanding spring project structure very challenging. Sure, understanding a handler isn’t too hard, but figuring out where the dependency injection happens is very opaque

0

u/[deleted] Aug 12 '24

[deleted]

1

u/nodeymcdev Aug 12 '24

Yeah don’t be a quiche eater

1

u/ledatherockband_ Aug 13 '24

binary isn't even statically typed šŸ’šŸ¼ā€ā™€ļø

0

u/[deleted] Aug 12 '24

[deleted]

5

u/Papellll Aug 12 '24

Dude can't do a google search and expects a faang job, yeah ok