Which Backend Language Should I Commit to Learning?
Asked by
hex_93
I've tried Python, but object-oriented programming and the way classes and objects interact still confuse me. I then moved toward JavaScript because I thought it would make working with JSON easier, but I'm finding the language's quirks frustrating. TypeScript is now appealing because it adds structure and type safety while keeping JavaScript's syntax. Should I commit to TypeScript, return to Python, or choose another backend language? I'm mainly looking for advice on how to stop switching languages and build a solid foundation.
Answers
Python is still a strong backend choice because itโs readable, widely used, and capable of handling everything from APIs to automation and data services. JSON is only a data format, not a programming language, so choosing a language based on being able to โmigrateโ to JSON is mixing up two different concepts. Focus on building an API that receives and returns JSON instead.
Reply to this answer
What specifically about OOP is confusing you? Java, C#, Python, and many other major backend languages use it, so avoiding the concept entirely may limit your options. Classes and objects can feel like a huge web of references at first, but you can start with small examples and gradually introduce relationships between objects. If you describe a concrete example that feels confusing, it becomes much easier to identify the missing piece.
Reply to this answer
TypeScript is a good practical option if you already understand JavaScriptโs basic structure and want fewer avoidable errors. Just remember that TypeScript isnโt a completely separate runtimeโit gets compiled to JavaScriptโso learning the underlying language is still important. Use a simple framework and avoid adding too many tools until you understand the basics.
Reply to this answer
The language matters less than learning backend fundamentals and finishing a real project. Pick one and stick with it long enough to build something substantial. Pythonโs object-oriented features are fairly approachable once you use them in practice, and TypeScript is a reasonable choice tooโbut youโll still need to understand JavaScript underneath it. Every language has confusing parts, so switching constantly usually just delays progress.
hex_93: That makes sense. Iโve probably spent too much time looking for a language that will remove all the confusing parts instead of working through one properly.
Reply to this answer
Add your answer
Answers are reviewed before publication.
hex_93: The difficult part is when several classes and objects keep calling or containing one another. It starts to feel like a map of references. I may try learning it again with smaller examples rather than abandoning it completely.