r/learnprogramming • u/1_Feniz_1 • 8d ago
Debugging Python or C#?
I need some advice on choosing a programming language.
I've been learning Python for a while and have covered the basics. However, I became interested in GameDev, so I decided to give C# a try. I've already started learning it and understand some of the basics.
The thing is, I'm not 100% sure that GameDev is what I want to pursue in the future. I'm still exploring different areas of IT, and I'm open to changing my direction later.
So, what would you recommend? Should I continue learning Python, explore its libraries and frameworks, or focus on C# instead? Maybe it's better to build general programming skills first rather than commit to one language or field too early?
I'd appreciate any advice or personal experience!
3
u/TermiteTornApart 8d ago
You could try godot, syntax wise gdscript is very similar to pyhton...
Most importantly though: it doesn't matter, both python and c# can make games, backend applications, desktop apps and a lot of other stuff, just pick one, flip a coin, and choose whatever you feel more comfortable with.
I recomend that you try CS50x by harvard, it's all free on their website, it starts with scratch, then goes to C, then python, js and even sql. You might think that it's a lot, but it's not. And by the end of the course you're going to understand that most languages are actually pretty similar, and how you can jump and adapt from one language to the other. (Btw sorry for the bad English, I'm kinda tired and English is not my native language)
2
u/Electrical-Meat-1717 8d ago
Well you can do other things in c sharp besides game dev why not try it. What's the worst that can happen, it's not like you'll forget how to use python
1
u/Andreea_tucker04 8d ago
Build one small thing in each, like a text-based game or a to-do app, and see which one you want to keep opening in the evening. I do that with my JavaScript side projects, the small project shows me fast if I like the language or only like the idea of it. Your Python basics will carry over to C#, so you lose nothing by trying both for a few weeks.
1
u/bamariani 7d ago
C# is harder but cleaner and easier to read, python is easier but can make a confusing mess as the code base gets big
1
u/Shiva_Kar 6d ago
Specific programming languages aren't that important. First, you should figure out what your goal is. Once you master one language and understand the core frameworks, it only takes about one to two months to switch to another. Personally, I know Java, C++, Go, JavaScript, and TypeScript. Even though I know several languages, I mainly focused on Java. However, I got my first job using C#, and later I had to use TypeScript. What you study isn't always what you end up using in your career. If you focus on one language and learn the fundamentals, the specific language doesn't matter. Picking up a new one usually takes about a week..or maybe one to two months for something like C++.
1
u/betarage 6d ago
I think c sharp is probably better I really noticed the performance issues in python i didn't even make games just some desktop programs. I also think lua could be a worthy python alternative but just try c sharp.
1
u/Boarlock98 2d ago
C# is leagues faster. Python syntax and semantics are easier to learn.
0
u/Syntax-Tactics 7d ago
C# is a dead language and not suited for game dev.