Mar 2, 2024 08:50 PM
(This post was last modified: Mar 3, 2024 08:11 PM by Kalvaxas.)
First off, thanks for giving into my clickbait title. The internet gods appreciate your service 🤣
Now let me tell you why I'm creating this thread. As of late, I'm seeing quite a lot of posts asking "Which programming language should I learn first?" Or, "What's the first language you started with, and why?" - Well, the latter may be relevant to this thread simply because the OP usually explains WHAT said language is used for. Okay Sasuke, so what are you getting at here? Let me explain.
Say you own a car, a bike, a plane, and an ATV. All of them are drivable on the road. However, you won't be driving all of them on the road. Programming is very much the same. You can theoretically use every major programming language to do the same task, but a lot of them wouldn't make sense to perform certain tasks. For example, while you could use Python to program an OS, you won't. Nobody will. My point here is that you absolutely NEED to research languages best suited for what kind of projects you think you'll be making the most.
A prime example of why you don't want to take someone's advice on what language to learn first is: Most people will tell you that the Python syntax is very easy to understand. It's very user friendly and clear with what's being done in the code. This is very true. However, if you're wanting to become a web developer, then learning Python shouldn't be your first choice as you'll be using JavaScript primarily. You'd also need to understand and learn how HTML/CSS work. Likewise, if you wanted to program apps for iOS, it wouldn't make sense to learn JS or Python first. You'd want to learn Swift. See what I'm getting at here?
Now, before I get into some of the most popular languages, I'd like to mention that there's a plethora of languages out there. As I mentioned a bit earlier in the thread, most languages can and will be able to do all of the same tasks. This is where research comes in. You need to do your own research to figure out which language is optimal for the tasks you'll be performing. The amazing thing here is that even though the syntaxes are different in every language - Once you fully master a language, learning another language will go much quicker than you may think since you already know how code works. That said, I don't recommend learning a second language until you've become proficient in your primary language.
C
What C Does Best (Click to View)
What C# Does Best (Click to View)
What C++ Does Best (Click to View)
What Python Does Best (Click to View)
What JS Does Best (Click to View)
What Java Does Best (Click to View)
What Swift Does Best (Click to View)
Rust
What Rust Does Best (Click to View)
I'm going to use ChatGPT here to generate coin flip snippits to show you some code in all of the programming languages listed above. I'm doing this for a few reasons. One, I want you to see how simple some syntaxes are vs others. Two, I want you to be able to grasp how simple tasks work. Three, I want you to see that depending on the language - libraries can seriously shorten time required to write out code.
Now let me tell you why I'm creating this thread. As of late, I'm seeing quite a lot of posts asking "Which programming language should I learn first?" Or, "What's the first language you started with, and why?" - Well, the latter may be relevant to this thread simply because the OP usually explains WHAT said language is used for. Okay Sasuke, so what are you getting at here? Let me explain.
Say you own a car, a bike, a plane, and an ATV. All of them are drivable on the road. However, you won't be driving all of them on the road. Programming is very much the same. You can theoretically use every major programming language to do the same task, but a lot of them wouldn't make sense to perform certain tasks. For example, while you could use Python to program an OS, you won't. Nobody will. My point here is that you absolutely NEED to research languages best suited for what kind of projects you think you'll be making the most.
A prime example of why you don't want to take someone's advice on what language to learn first is: Most people will tell you that the Python syntax is very easy to understand. It's very user friendly and clear with what's being done in the code. This is very true. However, if you're wanting to become a web developer, then learning Python shouldn't be your first choice as you'll be using JavaScript primarily. You'd also need to understand and learn how HTML/CSS work. Likewise, if you wanted to program apps for iOS, it wouldn't make sense to learn JS or Python first. You'd want to learn Swift. See what I'm getting at here?
Now, before I get into some of the most popular languages, I'd like to mention that there's a plethora of languages out there. As I mentioned a bit earlier in the thread, most languages can and will be able to do all of the same tasks. This is where research comes in. You need to do your own research to figure out which language is optimal for the tasks you'll be performing. The amazing thing here is that even though the syntaxes are different in every language - Once you fully master a language, learning another language will go much quicker than you may think since you already know how code works. That said, I don't recommend learning a second language until you've become proficient in your primary language.
Functions of some popular languages
C
What C Does Best (Click to View)
C#
What C# Does Best (Click to View)
C++
What C++ Does Best (Click to View)
Python
What Python Does Best (Click to View)
JavaScript
What JS Does Best (Click to View)
Java
What Java Does Best (Click to View)
Swift - Not much to say 🤐
What Swift Does Best (Click to View)
Rust
What Rust Does Best (Click to View)
I'm going to use ChatGPT here to generate coin flip snippits to show you some code in all of the programming languages listed above. I'm doing this for a few reasons. One, I want you to see how simple some syntaxes are vs others. Two, I want you to be able to grasp how simple tasks work. Three, I want you to see that depending on the language - libraries can seriously shorten time required to write out code.
C Code for Coin Flip:
Code (Click to View)
C# Code for Coin Flip:
Code (Click to View)
C++ Code for Coin Flip:
Code (Click to View)
Python Code for Coin Flip:
Code (Click to View)
JavaScript Code for Coin Flip:
Code (Click to View)
Java Code for Coin Flip:
Code (Click to View)
Swift Code for Coin Flip:
Code (Click to View)
I hope that this helps everyone who's asking which language they should learn first. If you see someone asking, or even if you're asking this question for yourself. Feel free to guide them here or keep coming back as needed. Feel free to quick love this thread if I was of any help to you.
Thanks!
-Sasuke




![[Image: vp6iypF.gif]](https://i.imgur.com/vp6iypF.gif)
