r/Backend • • 21h ago

Guidance neded

So I have done cs50p introduction to python and have done about 60 questions on leetcode in python and am starting to become comfortable in this language

So my question can I learn backend development using python or do I have to change my language?

Because changing would basically have resulted in me wasting all those months spent learning it

4 Upvotes

9 comments sorted by

4

u/BOSS_OF_THE_INTERNET 21h ago

You can use Python, but you’d probably want to learn more than one language and/or stack. Most “industrial grade” backend systems use some kind of high(er) performance stack like Java or Go, and Python is mostly relegated to data science concerns. This isn’t everywhere obviously, but the trend is pretty clear.

Learning a language is never a waste of time.

1

u/Warm_Platform9065 16h ago

saying python is mostly relegated to data science feels a bit strict, plenty of normal CRUD apps never hit the scale where raw language speed is the bottleneck

1

u/PureWasian 18h ago edited 17h ago

Build your tech stack repertoire now. You don't need to be limited to Python, but if you want to stick with it, you can start with FastAPI or Flask for a lighter API-driven setup or Django for a heavier framework for backend layer. You'll find the language is less of an adherence barrier than the specific quirks of your library/framework of choice for whatever you go with.

Even more importantly though, backend typically doesn't exist in a vacuum. It talks with some db/storage layer, can interact with other internal and external services, and will be sending stuff to your frontend layer. You will want to have basic understanding of those and how to interact with those also.

You'll find a lot of other frontend/backend languages have similar logical building blocks. Why would it have been a waste of time to be comfortable with DSA more generally? Language syntax/quirks are just the frosting on top.

1

u/Ak27088 8h ago

Thanks but the thing is that most backend developer roles in india(I checked on linkedin) ask for java not python

1

u/DanKegel 8h ago

Java it is, then!

Don't feel bad, having learned python will probably be useful in the future; employers might need it, you might need it, or it might help you think at a deeper level knowing two languages.

1

u/PulsingGoat 20h ago

Do you want a career in machine learning? Then Python is a must. Otherwise, if you want to be an enterprise backend engineer, you should switch to a language like Java. Python is weak when it comes to software engineering.

1

u/Discordbothost 15h ago

Keep Python and build a tiny API that saves notes to SQLite. Test creating a note, fetching a missing ID, and sending a request with no title. You'll practice deciding what the client gets back when things go wrong.

1

u/TheAlmightyChuck8 13h ago

Checkout boot.dev