How to Select Your First Programming Language

Knowledge Lighthouse
57 followers
116 Video Views·Oct 27, 2022
One of the hardest questions you'll ask when you start tackling programming is,
what language should I learn first?
Let's talk through some of the concerns that you might have.
It feels final.
It feels like if you choose a language that you're making a final decision
about what you're going to be doing for the rest of your life.
That's normal.
While some people have successful careers with one programming language,
most developers know several different languages,
and many change their focus until they find the right one for them.
Whatever language you start with, it does not have to be the only language you ever learn.
Expect to learn many different programming languages.
Programming languages seem very different from each other.
While syntax, or rules, can vary between programming languages,
each language was developed to solve unique problems.
All of them share some common concepts,
like learning one language will make it easier to learn the next programming language.
And as you pick up your next programming language,
you'll learn more about that first programming language
that you probably missed the first time through.
What if I pick the wrong language?
Now, some languages are harder to learn than others,
especially if it's your first.
However, every language has been someone's first,
and they've been through the same issues that you're experiencing.
If you feel like you've picked the wrong language,
you may have picked one with syntax that is too verbose.
But you may also be experiencing a challenge.
When you start learning a new language, you're going to learn a lot.
And if you're following a good tutorial, it should even be fun.
But after you learn the basic concepts of something,
you may find that the next concepts are more challenging.
While you may want to give up, that's when you'll want to work even harder.
Push through your confusion, take good notes, and learn as much as you can.
By pushing yourself, you'll find that you can learn anything.
We see this all the time.
You'll find that the what programming language should I learn first question
is incredibly popular.
And after a few months,
you'll find yourself offering your own advice to others just getting started.
Here are the main modern programming languages that you'll likely be considering.
People often begin by learning HTML and CSS.
Why?
Well, these two languages are essential for creating static or unchanging web pages.
Everything on the web uses HTML and CSS to some degree,
from simple websites to huge and complex applications.
HTML, or hypertext markup language,
structures all the text, links, and other content like images and videos on a website.
CSS, or cascading style sheets,
is the language that makes the web page look the way that it does.
The color, the layout, and other visuals that we call style.
Now, if you're interested in making websites,
you'll definitely want to start with HTML and CSS.
JavaScript is the first programming language for many people.
It's the next logical step after learning HTML and CSS.
JavaScript started out as a simple web programming language,
intended to add a few interactive features to websites.
However, it's grown into a powerful programming language
used on nearly every website in the world.
You can use JavaScript to add interesting effects
like a lightbox or a cool scrolling effect.
It's even used in projects outside of web browsers
like hardware or desktop applications.
Learning JavaScript will put you in a good place
as it's a general purpose language.
PHP is one of the most popular web languages.
It's also one of the first accessible programming languages
designed for manipulating information on websites.
PHP started out in 1994 as Personal Homepage.
Its tools were built by Rasmus Lerdorf
to add basic interactivity to his personal website.
Then, in 1995, PHP Tools was released to the world
and other developers learned about it and started using it.
Two programmers really liked PHP and collaborated with Rasmus
to develop a new independent programming language
called PHP Hypertext Preprocessor.
But we all call it PHP.
Now, if you've used Wikipedia or Facebook,
you've used a site powered by PHP.
Almost 27% of the web is built with PHP.
People love PHP because it allows you to add
dynamic information to websites very easily
and it's great at manipulating databases
so that you can access and store information about your users.
Python is a general purpose language
that is used for everything from server automation to data science.
Now, you might think that Python is named after the snake,
but it's actually named after the British comedy group Monty Python.
Thanks to this, Python has a long history of not taking itself too seriously.
Python is a great language for beginners
because it's easy to read and understand.
Anything you want to do, you can do it with Python.
So it's a language that you can stick with for quite a while
before needing something else.
It employs a batteries-included approach
and there are many great solutions available for you to follow.
Instagram, for example, was created with Python.
The U.S. government uses Python
to do statistical analysis and visualizations.
Disney, Pixar, and Lucasfilm use Python
to add more realistic effects in their movies.
Big websites like YouTube, Instagram, and Reddit use Python.
Ruby is often associated with the Rails framework
that helped popularize it.
It was created in the mid-90s by Yukihiro Matsumoto.
Used widely among web startups,
Ruby on Rails makes it easy to transform an idea into a prototype
and later into a working application.
Now, as a result, many tech startups and programmers
use Ruby to build the early versions of their applications.
Sites like Hulu, Basecamp, and Airbnb use Ruby on Rails.
Objective-C and Swift are two languages that are used for the same purpose,
making apps for Apple devices like the iPhone or the iPad.
Objective-C can be a bit verbose and challenging to learn,
but it is very rewarding
because you'll be able to make apps for any Apple device.
Swift is the most recent app-creating language
that is recommended for newer Apple developers
since it is intentionally easier to read and get you up and running.
First released in the year 2000, C Sharp was created by Microsoft.
However, just because it was created by Microsoft,
it doesn't mean that the C Sharp language can only be used for Windows applications.
C Sharp is a general-purpose programming language
that is used for video games with the Unity game engine,
writing web servers and mobile applications, and ASP.NET.
One of the goals the designers of C Sharp had
was to create a programming language that was less prone to errors.
That means it's harder to write software that will crash when it runs.
This helps you to avoid all sorts of headaches and makes coding a lot more fun.
Now, despite its name, Java is not related to JavaScript.
Java was created in 1995 by Sun Microsystems
to embed in physical devices like televisions.
Today, Java is used to power web applications like Amazon and Gmail
and admission-critical enterprise applications like banks and hospitals.
It also powers Android apps,
so it's a good choice for those inclined to mobile development.
Kotlin is an easier-to-read and more code-efficient version of Java
that was created by JetBrains in 2011.
But you'll want to learn Java first before you can truly understand
and take advantage of the coding simplicity that Kotlin offers.
Which do I choose?
While plenty of people will gladly tell you exactly what language to learn,
here are a few considerations.
What do you want to do?
If you're interested in working for a specific company,
you'll want to take a look at their job boards.
They'll list specific requirements.
Now, don't worry if you don't meet any of them now.
You will.
But this will give you an idea of the direction that you're heading.
What do you want to build?
This is one of the most challenging questions to answer.
What do you want to build?
If you have an idea for a project, you might already be creating it.
Knowing what you want to make
solves the what-programming-language-should-I-learn-first question quickly
because the language is just a tool to get you where you want to go.
If you don't know what you want to make, check out this site.
It has a list of projects that can be completed in any language.
Treat them like puzzles and start with the easiest ones.
Once you select a language,
you'll discover that there are tons of resources for learning it.
There's podcasts, video tutorials, books, apps, conferences, meetups,
just tons of things.
And while it's challenging to filter out what's most valuable,
as most of these resources are going to be talking about
things that you won't understand yet,
you want to immerse yourself in the language
and take it all in.
But the most important thing is that you've decided to learn to code.
Congratulations. That's a huge step.
And if you've made it this far, I can tell you something.
You're going to love it.
Remember, coding is fun, and therefore, learning to code should be fun too.
So don't let these early decisions stress you out.
You got this. Stick with it.
