Programming 101: What Language Should I Learn First?
This is the first part of a series I’ll be publishing for beginning programmers. I’m hoping it offers some insight to newbies and provides me with an opportunity to organize my thoughts on the subject. I’ll try to keep each article centered on one topic, but I may bounce around a little to include related topics that interest me.
A question I hear a lot from people who want to learn programming is, “what language should I learn first?” Many good answers have been provided to this popular question, but I’ll offer some insights that I wish I had known when I was getting started.
Don’t “Choose” a Language
With so many languages available, choosing a starting point can be intimidating. After all, you probably don’t know much about any of them yet, so how can you make the best choice with little or no knowledge?
I recommend you begin by learning the fundamentals of several languages.
Focus on the Fundamentals
If you’ve ever used sites like Code Academy or Code School, then you’ve probably noticed a pattern: the fundamentals of all programming language are very similar. They each provide a way to declare variables and assign initial values, write blocks of code inside functions to operate on those variables, and design a control flow to determine which path to take based on user interaction.
Here’s what you should focus on:
- Declaring variables
- Understanding types
- Assigning values
- Operating on variables
- Arithmetic Operations
- Concatenating Strings
- Control Flow
- Conditional statements (if, else if, else…)
- Case and switch statements
- For loops, while loops, etc.
- Iterating through arrays
- Writing functions
- Calling functions
- Passing parameters
- Returning values
Don’t Dream Big, Try Small
Whatever you do, remember that the old saying about the best way to eat an elephant: one small bite at a time. I hope these thoughts resonate with you and get you excited about jumping into the exciting world of programming.
Good luck and happy coding!