Skip to main content

Command Palette

Search for a command to run...

What Programming Language Should I Learn First?

Let's discuss pros and cons of starting with javascript, python or c

Updated
3 min read
What Programming Language Should I Learn First?
A

I am a developer by heart. Love programming and problem solving. and love to share whatever I learn. Feel free to contact me or follow on Twitter. I tweet about Programming, MEMEs, Quotes, Books etc. I also make youtube video related to programming and tutorials. checkout my channel also "a little coding"

This is a very tricky question and the answer is tricky too. Whether you are pursuing CSE/IT or trying to get into tech on your own, this is an important question.

Please take this article as my personal opinion.

First, let's see the options we have. I feel the 3 best choices we have are C, Python, and Javascript.

C

C would be a great choice for people who are not in a hurry. Best suitable for students in school or in the first/second year of college.

Pros

  1. Great for learning fundamentals of programming

  2. Gives you a clear understanding of the building blocks of programming

  3. Sets up for the future. Knowing the syntax of C will make it easy for you to understand other languages later (like Java, javascript)

  4. Less distracting. As there's not much possible with C, you will only focus on programming. Also later you will have to switch to another language because of that you will not be attached to any one language.

Cons

  1. Not be able to make full-fledged projects

  2. Slightly harder compared to language like python

  3. Will take a little longer to master and also you have to switch to another language later

Python

Python is a great choice for people who have less time and wants to start creating projects from the start itself. Also, if you have already decided to go into machine learning or artificial intelligence related fields, python is the best for you.

Pros

  1. The syntax is one of the easiest

  2. It can do a lot of things, so may not have to switch to another programming language for quite long

  3. A clear advantage to getting into fields like machine learning and artificial intelligence

Cons

  1. The syntax is quite different from other common languages like Java, js, etc

  2. Because it does a lot of things you may not think of learning another language on your own. Later when required to learn a new language, it will feel slightly odd if not hard

  3. Less understanding of important topics like Object-oriented programming, strict data types, etc

Javascript

A perfect option for people who are inclined toward web development. With all the rapid changes and new frameworks/libraries, javascript becomes the most popular language among students.

Pros

  1. Best for web development

  2. Great for learning common programming syntax and making projects as well

  3. All-rounder language for fullstack development

Cons

  1. Too many options to choose from (frameworks/libraries) when making projects

  2. it does not enforce strict types and OOP principles

Lastly, I would say you can't go wrong with any of these. Just choose one according to your current situation and be open to learning new languages as required. Once you become good with one programming language, picking up another one would be very easy.

O

is python also good for web development? i’m interested in 2 tech skills, cybersecurity and web development. am a newbie and currently learning python

1
A
Arif Khan2y ago

yes, it would be a good starting point. Remember that you have to learn quite a few different techs for those two different skills. Just consistently keep learning. For now, python is a great choice. All the best.

1
O

thanks Arif Khan

1
A

Thanks for sharing! By the way, every language has its uniqueness and it's a tool for a developer.

And one should keep in mind that, a language is equal to its commuincation.

1
A
Arif Khan3y ago

yes. well said.

2