Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Tutorial 

This is THE BEST programming language to learn FIRST

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.



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
Good thread except for the clickbait title that benefits no one. Would be even better if you add a section for Rust, perhaps under or next to C.

It deserves a special place on your list for what it can do 😉.
[Image: vp6iypF.gif]
(Mar 3, 2024 08:39 AM)MavenGradle Wrote:  Good thread except for the clickbait title that benefits no one. Would be even better if you add a section for Rust, perhaps under or next to C.

It deserves a special place on your list for what it can do 😉.

Thanks!

I do plan to add more languages to this thread over time. Ruby is one I considered adding yesterday, but didn't get around to it because of time constraints. I'll definitely add Rust to the list later today when I get some more time. 😄
The message you are trying to convey is a good one, but does not work for someone with 0,0 programming experience. For them there is no concept of what a good language for their problem would be. Which is why I usually suggest that it does not matter, and that getting coding is actually simply the priority. They will not release their code to any meaningful audience, no one will pay them, it will be a simple hobby project. Their concern is learning how to program then they can worry wether C, C++, Rust or Golang is their answer for their solution. (Hint it will always be Rust and/or Golang)
(Mar 3, 2024 08:00 PM)Dirty Wrote:  The message you are trying to convey is a good one, but does not work for someone with 0,0 programming experience. For them there is no concept of what a good language for their problem would be. Which is why I usually suggest that it does not matter, and that getting coding is actually simply the priority. They will not release their code to any meaningful audience, no one will pay them, it will be a simple hobby project. Their concern is learning how to program then they can worry wether C, C++, Rust or Golang is their answer for their solution. (Hint it will always be Rust and/or Golang)

Yeah, I totally understand that. I don't know if my logic applies to everyone, but for me as someone who previously had no experience, I never realized that certain languages were used for certain things. I always just assumed the programming language best suited for anyone would be whichever syntax they grasp first. Which, honestly, that may indeed be true. My goal here though is to help people to understand what they should be searching for when they decide to dive into programming. I guess you could compare it to buying your first car. For the most part, you just need a car that can get from point A to point B. You also would need to take into account the MPG that you get on said car though. Maintenance costs. Aesthetics, etc. That was my intention for creating this thread.

Also, MavenGradle - I added Rust to the OP. I actually ran out of characters for the OP, so unfortunately, Rust is the last language I can add to it. Hopefully people have a much better understanding though. 😁


Possibly Related Threads...
Thread / Author Replies Views Last Post
by lilixOct 3, 2025 02:08 PM 7 142 Oct 3, 2025 02:08 PM
Last Post: Doug Dimmadome
by inceptorAug 18, 2025 04:50 PM 13 404 Aug 18, 2025 04:50 PM
Last Post: LOVESOSA098997
by anonymoustrinityJan 3, 2025 03:13 PM 1 152 Jan 3, 2025 03:13 PM
Last Post: Phobia_