MERN or JAVA FULL STACK
Posted by anilkumar_12@reddit | learnprogramming | View on Reddit | 14 comments
hello every one,
I have just completed my 3:2 semester, actually im doing good in DSA in c++,
But coming to development it feels so messy for me, Because of structured learning in DSA, it feels difficult to learn DEV , which is in scattered manner.
I have tried with node.Js actually. But I'm too confused with the error handling.
Does anyone face the same issue, or else,
Can some one please suggest me a suitable stack and better way of learning to get comfortable in dev.
peterlinddk@reddit
Error handling is the same in all languages - different frameworks, like Express.js or Spring Boot might have slightly different implementations on how you can handle HTTP errors, but you won't find one stack that is "easier" to understand than any other.
Also, you can't do fullstack in Java, unless you intend to go for 100% server side rendering of all HTML, so you'll miss out on a lot of React, JSON and REST learning ...
whiterhino8@reddit
It depends on your nature .
Try them both and see which one tends to be more productive to you .
anilkumar_12@reddit (OP)
Yaah i have tried with MERN, it's tym to try with Java.
Any-Cardiologist1641@reddit
This is normal in starting , dev looks messy because it is less structured. In my opinion you should not worry about the stack right now. Pick one Mern/Java and start building small projects. Consistency matters more than the stack.
anilkumar_12@reddit (OP)
Thanks for ur suggestion. I have an idea to try with spring boot, do you have any idea about it, and does it suites to a person like me.
nightonfir3@reddit
Your like a beginner mechanic asking if fixing Fords suits you. Pick something and fix it. Later you can decide you like Mazda and specialize more. Its not like you need to re-learn what a break is.
anilkumar_12@reddit (OP)
Lol, I will definitely start focusing on learning dev . Thanks for ur insight.
Made-In-Slovakia@reddit
node.js? I think you mean JavaScript then, no Java, these are two different languages.
anilkumar_12@reddit (OP)
Yaah i know those two are completely different, Java script and node.js are used in MERN stack, Java is used in Java full stack. I want to choose one of those two.
Made-In-Slovakia@reddit
I did not check MERN, my bad.
Anyway. In long run, I recommend to learn Java for backend. Reason is simple. JS and Java are two languages with different approach to things. Java can be also used to create more robust systems then Node.js based BE. So you can learn more from these two languages and ecosystems than from just JS. And then decide to focus then on FE or BE or both.
anilkumar_12@reddit (OP)
Oh that's fine, thanks for ur suggestion .
Life-Selection6377@reddit
coming from a strong DSA background in c++, it’s totally normal to find web dev messy. c++ is very structured, and node.js can feel like the wild west at first lol.
If you like structure and strict typing, maybe look into java full stack -spring boot. It feels a lot more organized and enterprise compared to node. Spring boot's error handling and dependency injection might make more sense to your c++ brain.
however, if you want to stick with js, try switching to typescript. it adds that structure you’re missing. don't worry about the mess, just build one small crud app and the pieces will start falling into place.
anilkumar_12@reddit (OP)
Thank you so much for your valuable insights.
setq-default@reddit
If your IQ has three digits you don’t need to limit yourself to one