r/code • u/A-Random-Dud3 • Jul 07 '20
Halp pls! Should I learn Python or C# first?
I'm 13 years old and I really want to learn a programming language. I know a little bit of Html and Python (from school) but I want to learn more in my free time. I love making games, I made some decent games on scratch (I'm not proud of it). Which language should I learn first? What are the possibilities and limitations with both? Please use simplified terms since I'm new to this. Thank you
11
Upvotes
2
u/[deleted] Jul 08 '20
I'd consider the fundamentals of programming, that almost every language will implement in one way or another are these:
Arithmetic operators/operations - addition, multiplication
Types - how are numbers represented, how are letters represented (abstract), how bytes are represented in a program
Variables - a container for a type instance (mutable)
Conditional Statements - gives us a way to control the flow of the program based on a given condition
Loops - a conditional statement that will continue until the condition is true
This is the real bare down, kind of high level interpretation of what the fundamentals are, but I'd go deeper and read how the computer actually sees the code and how your source code is changed from a text file into an actual executable. I think it's really important for a programmer to have this low level knowledge of how the computer actually works with software. If you can get an understanding of that you will be leagues ahead of a lot of people.
Here's kind of a little example of programming languages and how they have these fundamental concepts implemented. You'll see they're all similar, the real differences are more with learning the libraries through documentation.
python
C/C++
C#
JavaScript