C
C#3mo ago
Abheesh

DotNet vs Nodejs for first backend language

Hey everyone, I am a junior undergrad looking to learn a backend technology. Dot net and Nodejs seems to have the biggest market share worldwide so I am gonna learn one of these. But I am confused over which to choose. .Net is a mature language but Nodejs has more market share at my location (Pakistan) and a lot of tech events use Nodejs like Google Summer of code. Which tech should I choose first that would benefit me in the long term the most and provide me with good remote work opportunities?
7 Replies
Waffles from Human Resources
use C# for the advantage of C# :soPortuguese:
gwon8266
gwon82663mo ago
You can learn anyone. Technologies change overtime. What is important is having a good foundation.
Abheesh
Abheesh3mo ago
What do you think makes up a good foundation?
gwon8266
gwon82663mo ago
Build a solid foundation
There is one thing that I've noticed frequently hurting developers performance and potential, and it’s the lack of a solid foundation. It seems that people is trying to get a good-enough understanding on how to code in a specific language just to get going; that makes you just a coder, period.
Sander
Sander3mo ago
knowing how the web & HTTP works. at a high level that is, you dont need to be able to write http request by hand or anything but subjects like status codes, idempotency and JSON are musts And start learning how to build web API's. when working in back-end (which was your goal if i got it correct) being able to make API's is pretty important. Also try to learn how to use some tools like swagger or postman these are some essentials for back-end development that if you get the hang of it you can directly transfer between languages. Databases and queries is also a important subject but that's not specifically related to .net or node so i left that out these are general guidelines though, not a strict roadmap
Abheesh
Abheesh3mo ago
Thanks, that was a good read I have a decent understanding of the basics but have yet to learn design patterns Will do that for sure I have a decent understanding of the web, I have worked with APIs on the front end(made a project using Pokedex api some time ago) but never built one My main concern was this assumption that its better to learn .net for a first timer since C# is a static language and forces you to write good code and follow solid principles unlike Nodejs where you can often write messy code without knowing
gwon8266
gwon82663mo ago
Well, for your correction, Nodejs is a runtime. If you were writing backend code with just Express, it will not be enough. It would be better if you use Nestjs. It's a Nodejs Backend Framework that uses typescript, so it forces you to write well typed code. You will eventually need to learn both, especially if you are into fullstack.
Want results from more Discord servers?
Add your server
More Posts