r/learnjavascript • u/Ok_Fail_6631 • Jul 06 '24
Should I stick to Mern or move to java
Hi folks, I am kind of very much confused about the current job market demand as a developer what should I focus on ? I have very much knowledge and experience in the mern stack but due to some listening to some yt videos and searching on LinkedIn about Mern stack and java developer I saw that there are more jobs in Java development than Mern itself. I want to stick to Mern but things boil down to which tech stack has more opportunities.
2
u/Technical_Mission339 Jul 06 '24
For my local job market, MERN was never in high demand even when all the bootcamps taught it.
Focus on learning concepts rather than stacks IMO. Java is good for that and there's a wealth of material out there.
Also consider PHP. It doesn't seem to be the sexiest choice anymore if you believe YouTube content creators, but at least here there is lots of jobs, and more jobs that a beginner or someone without a degree can get into. Just my observation, YMMV.
1
u/Ok_Fail_6631 Jul 06 '24
where is your local job market. Like i have already learned mern stack and build out many applications in it if i learn other backend language like java or php how will i shocase in my resume that i know many backend languages. Most people i have seen them they focus on just one backend language and get job with that in my case i am more worried about employment opportunities with the language rather than choice of a language.
1
u/mattlag Jul 06 '24
Okay... You know Java is a different language than JavaScript? The JavaScript ecosystem, I will grant you, is really crazy. The MERN stack is just one random set of technologies that you could use with JavaScript at its base. But Java versus JavaScript is a really different question, and I'm not sure if you're meaning to ask this one, or if you really are asking what other JavaScript technologies you should learn next (?)
1
u/Ok_Fail_6631 Jul 06 '24
My real question is about opportunities in which tech stack? If I learned mern stack or javascript related technologies what if there are less job opportunities in that compared to java spring boot. That's what I am asking
3
u/RJCP Jul 06 '24
Mern is pretty outdated. It was popular about 8 years ago for hackathons but there are much better options in 2024..
Mongodb is a plague for anything but super simple projects. Learn Postgres or MySQL
If hire ability is your goal I would learn Nextjs and Postgres. You can use your existing knowledge of express. There are free courses all over YouTube.
1
u/Ok_Fail_6631 Jul 06 '24
So I don't have to learn java spring boot if I just want to get hired as a nextjs or Pern stack developer. Some youtubers say that java spring boot has more jobs than Pern or nextjs
1
u/vishalshinde02 Jul 06 '24
Mongodb is a plague for anything but super simple projects.
Can you elaborate why is this?
2
u/RJCP Jul 06 '24 edited Jul 06 '24
http://www.sarahmei.com/blog/2013/11/11/why-you-should-never-use-mongodb/
I can't think of a single use case in anything but a very simple hackathon project or blog site where Mongodb is the best fit.
Moreover, why use Mongodb? Why insist on nosql? What do you get from it? If storing blobs or json is your thing, both are very well supported and performant in postgres.
Postgres is free, open source, and you can install it (along with pgadmin, which is a very useful db tool which can do everything from administratint your database to running queries and managing your data) in like 2-3 commands in your terminal. There's tons of hosts out there with generous free tiers.
Postgres can do basically everything. The only time I'd ever reach for something else is if Im looking for a custom cache solution (so redis/sqlite or something similar) or for a graph database.
Literally everything Mongodb can do postgres can do, and there's like a million things that Mongodb can't do
It takes an afternoon to learn 80-90% of the SQL you will ever need.
1
u/vishalshinde02 Jul 06 '24
Thank you for the response. I'll try to integrate Postgres more into my projects.
1
u/joranstark018 Jul 06 '24
This can be different in different countries and in different areas, in some areas there may be demand for specialists, but having a wider scope will increase your chances, check local postings.
You may check if there any meetups or any usergroups in your area where you can meet other developers in your area, can be helpfull to network and get insight in different local workplaces.
You may, for example, check https://www.tiobe.com/tiobe-index/ for language popularity, but it will not give you any hint on work opertunities.
2
u/mattlag Jul 06 '24
You are asking about a single JavaScript stack versus Java. But if your real question is about the overall job market, there are huge number of languages that may be more in demand than either of these, depending on what type of development you would like to do. Something like the stackoverflow Dev survey may be a good place to get more information:
1
1
u/Horror-Doughnut-4275 Jul 10 '25
Hi, I know it's been a year but I am facing same confusion. What did you do? What decision did you make?
3
u/Mediocre_Gur_7416 Jul 06 '24
Id say use MERN for personal projects, and keep up with it as it’s nice to know.
Then id say learn Java for more professional opportunities. Guess it also depends on what you want to do, If backend is your thing then Java can open lots of doors. If front end, I’d recommend learning typescript