DEV Community

Bobby Iliev
Bobby Iliev

Posted on

Which programming language would you start with and why?

Hi all πŸ‘‹

If you were just getting started with coding now, which programming language would you pick?

Here is a list of the most popular programming languages according to GitHub for Q4 in 2020:

Most popular programming languages 2020

I started a Twitter poll, so feel free to vote here as well!

Top comments (35)

Collapse
 
raphael_jambalos profile image
Raphael Jambalos

I'll start with Python because of its versatility. It can be used in

  • web development
  • data science
  • scripting
  • etc

It's also easy to learn and will help you get started with the OOP concepts quicker.

Collapse
 
bobbyiliev profile image
Bobby Iliev

Very good point! I love it!

Collapse
 
darkain profile image
Vincent Milum Jr

This question comes up a ton, but I personally think it is misdirected.

It shouldn't be based on popularity. It shouldn't be based on what a peer enjoys using.

What should it be based on?

Well, first off, what is the problem domain? Figure that out first and foremost. Understand the problem domain as best as possible. Then and ONLY then, figure out which tools are best served to address that problem domain.

For reference, I'm saying this as someone who's worked with 50+ languages over 20+ years. I have my personal favorites, but they're married very closely to my problem domains, so that makes sense. Others have languages they love/hate too, and its generally related to what is best suited for their problem domains.

Collapse
 
u8nc profile image
MiAn

I was about to re-phrase your response into another version of the original question: "What language of the 50 you have used, solved more of the problems than others?"
But then I realised the error of putting things that way because that would be imprinting a solution not appropriate for the task just based on that 50? What do we do for case 51 boss?

When we implement a language we are bringing into being the perceptions of the person that created the language, who did so for a purpose presumably because nothing was in existence at the time.

But has someone else since addressed a core concern of management level types ? and that quite like would included this: "Is this code solution able to be understood by new or replacement staff in the future, with the orginal coder no longer present?" So eventually Language creators try to accommodate that aspect and make their language cover as many cases as possible in an attempt to make it universal in it's ability to solve.

Sometimes I wonder if they are 'universalising' our perceptions instead with smoke and mirrors on the task at hand to accept their offering. The real first tool to reach for might well be some literary work that engages critical thinking in us.

I wouldn't like my mechanic to service my car with just a few tools. They may cite their skill is so high they can fix anything with a roll of barbed wire and pliers. I think you'd be politely saying good by to that workshop.

I love using Forth, the RPN nature of it alone puts my mind into a relaxed state. From there I might see something in the problem that represents my perception of how to use leadership to bring the outside world to effective and productive satisfaction. But I would not foist it upon the people who contracted me, so I have to find a language that translates my perception faithfully into what it does, and submit my account.

And therein the original question rears it's head. "which one"?

Collapse
 
bobbyiliev profile image
Bobby Iliev

Very well said! I wish more people could read your comment!

Collapse
 
yoursunny profile image
Junxiao Shi

If I'm a freshman taking my first programming class, I want it to be Rust.
It's strongly typed, has no memory leaks, and easy to get started.

(I haven't actually learned much of Rust but I know the basics)

Collapse
 
rishitkhandelwal profile image
Rishit Khandelwal

Rust is amazing

Collapse
 
bobbyiliev profile image
Bobby Iliev

Nice! This makes me want to try out Rust!

Collapse
 
phantas0s profile image
Matthieu Cneude • Edited

I would say Golang.

  1. It's pretty simple because it's opinionated. See below.
  2. It has a C-like syntax, it's easier to learn another language based on C afterward.
  3. It's quite trendy and there is a big community out there.
  4. It's fast.
  5. The tooling is awesome. Learning a programming language is not enough; knowing how to use the tools can be a pain.
  6. It's opinionated, which means that you have often only one way to do something. I think it's great for beginners.
Collapse
 
bobbyiliev profile image
Bobby Iliev

I've been wanting to try out Golang for a while now! And now I've bought a Udemy course after reading your comment :D

Collapse
 
gaesrare profile image
Gabriel Ramirez

As someone that went through the university path, I'm biased towards strong typed languages first. And that's because I consider the need of syntax and organization of the code make you learn more concepts than you would do if you jump right into a script language. For that reason I would say C++ is a good start, but only if you have the time to spend learning languages.

If we want to learn something on the go and make cool projects at the same time, I would say Python and JS are great first starters. I would go with python first in that case.

Collapse
 
bobbyiliev profile image
Bobby Iliev

Fully agree with you! I could not have said it better!

Collapse
 
ksaaskil profile image
Kimmo SÀÀskilahti

I'd recommend Scala, for getting hands-on experience of both functional and object-oriented programming. My first course was in Java and it took years to learn that not everything needs to be a class 😁

Collapse
 
bobbyiliev profile image
Bobby Iliev

Sounds very good! I personally have never used Scala before.

Collapse
 
alexgeorgiev17 profile image
Alex Georgiev

An interesting discussion, Bobby! I believe that a lot of people will choose the language that they believe will help them to land a job offer or an internship in a company. In my opinion, this should not be considered a wrong attitude since, in the end, people don't work for free, but in your spare time, you can be interested in some cool projects so you also should enjoy programing and love it or at least like the language you've chosen to learn.

Collapse
 
bobbyiliev profile image
Bobby Iliev

You've got a very good point there Alex! Love this!

Collapse
 
alexgeorgiev17 profile image
Alex Georgiev

It's just my point of view, everyone is free to agree or disagree. Love your content, Bobby! Keep up the good work!

Collapse
 
jessekphillips profile image
Jesse Phillips

It is easy to think the first programming language would be a general purpose language. In reality the first one is best served in a domain of fun.

But for general purpose, I like D.

Collapse
 
mrdulin profile image
official_dulin

Golang.

  1. There are very few grammars and keywords.
  2. Strong typing to ensure code safety
  3. There is basically only one way to complete a function
  4. I like the concurrency model of goroutine+channel
Collapse
 
sgriffiths profile image
Scott Griffiths

Universally Python seems to be the way to go as it can be used across the board and most roles will let you get away with having python skills but not strong in C# / Java etc.

Other than that I really like Rust and think that it has a lot of benefits and very straightforward to pick up

Collapse
 
bobbyiliev profile image
Bobby Iliev

Indeed Python gives you a lot of opportunities in the fields of ML, AI, Big Data, Web Dev and etc.!

Some comments may only be visible to logged-in visitors. Sign in to view all comments.