#π Is the python best language for backend, or should I choose go/c#/.net/node.js
69 messages Β· Page 1 of 1 (latest)
@sly marsh
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
All languages have their strengths and weaknesses. Python is really really really good at speed of development and deployment, but doesn't scale nearly as well compared to other backend languages.
If you are seeking employment in this area, it doesn't hurt to learn the Django framework.
do you have experience programming or are you just learning?
Okay, thank you!
Have experience in node J's
And js a bit
why are you looking to switch languages?
Build a crud, Todo api
unless your programming basics are very solid, it's usually best to stick wtih whatever you're working with
"Get a good feel for Node first, set up a basic HTTP client on it."
β Start with Node.js (to understand how a server works). Create a simple server/client that handles HTTP requests. This will give you a basic understanding of what a backend is.
"Then you'll get to know frameworks, then databases."
β Once you've mastered bare Node.js, move on to learning:
frameworks (e.g., Express, Nest.js),
databases (PostgreSQL, MongoDB, etc.).
"And so on, following the established pattern."
β That is, as you gain more understanding, it will fall into placeβyou'll delve deeper step by step.
"You'll already see points like Redis microservices and similar crap in framework specs."
β When you start reading framework documentation, they often mention ready-made tools: Redis (for cache/queues), microservices, and so on. You'll gradually start learning them yourself, because you'll need them in your projects.
"Basically, that's it. It's better to switch from Node to Go or .NET."
β Node is a good start to get into server-side development, but in the long term, in his opinion, it's worth switching to a more "serious" backend language (Go, C#/.NET), which offers better performance and tools.
"And yes, before you delve into the backend, understand what it does, where it runs, what it does."
β
Because of this message
who is that from?
and I would suggest taht that's nto a good path to learn how to build software
learning how to write a bit of code is not the same as learning how to design and build software
just like math isn't knowing some arithmetic and a bit of calc
Not a bit, I do everything step by step
Like I don't try to remember the code, I understand it
gotcha
well, I don't think your original question has much value, unless you have a specific project you're trying to build
Idk just random guy from discord serve r
You mean each language better in different projects?
I mean that you can write backends with all of those and there's no clear "best"
There isn't a satisfying answer to 'what is the best programming language'
it's highly context-dependent
I will say that from javascript, getting some experience with a more rigid language could be good, like C# or java
I would recommend java because there are far more teaching resources available for it
but neither is a bad choice
or typescript π
go would satisfy that too, but it has far less materials than either
that's not a bad choice, also not a bad choice to branch out if you have programming basics down
like, do you know what a variable is? a function, including parameters and return value? control structures? loops? OOP?
scoping
basically if you find an intro to proramming textbook (pretty much regardless of language), do you have a good grasp of the top-level things called out in the ToC
object oriented programming
Like I know definition
gotcha, have you used classes in js?
actually, scratch that, you should go over OOP, and you shoul ddo that in a language you're already comfortable with, so js
Yes
Hmmm
Should I know lots of languages? Or focus on one?
I would highlyl recommend that you fin dresources on the new class-based syntax in js, and not the prototype style of object creation.
nothing wrong with the latter way, just way, way less common in other languages
you should focus on one for now, the vast majority of concepts translate across languages, and as you gain knowledge and experience it becomes much easier to pick up new languages (and so there's less value in knowing more langauges already)
and if you do move to a new langauges, pick one with features/design choices that are different from js (python isn't so different, java or C# would be).
Okay! But js usually using in web development, so if I want to go anywhere else I should choose another language
js is pretty common the back-end too
Okay got you, sure u are right
and even in desktop apps, as a lot of apps (including the discord app) uses the electron framework, which is more-or-less a browser disguised as a decktop app
Electron framework? Fw in Js or what?
Build cross-platform desktop apps with JavaScript, HTML, and CSS
basically "make your web app look like a desktop app" is the idea
Btw, c# good for ai? Better than python?
nope, python dominantes the llm and machine learning landscape for the moment
depends on what you'er doing, there are c++ libraries for running inference that are quite popular
Right
Anyway, thank you for your helping man, I appreciate it.
sure thing!
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.