As tech becomes embedded in the processes and cultures of companies across industries, having programming knowledge can be a strong career asset for any professional. But, it can be hard to know which programming language you should start with. Here are some factors you should consider in making the decision.
Why Do You Want to Learn?
When examining your motivations for learning a new programming language, ask yourself the following questions:
- Is this for a new job?
- Is this for a specific project?
- Is this to add a new skill to my skillset?
The answer to these questions will help guide you in the right direction.
What Interests You?
Depending on what you’re interested in and what your end goals are, some programming languages might be more useful for you to learn than others. Here are some common languages and how they are typically used.
Ruby on Rails
Ruby on Rails is good for building web apps and is used at a lot of startups, including Airbnb, Twitch and Hulu, according to the Ruby on Rails website. Rails is the developmental framework that provides structure for the code, which is written in Ruby. Since it is an open source software, a lot of code is available for use.
Python is typically used in data science and analysis, science, statistics and education. Although it’s fairly easy to learn, it’s powerful. Python comes with built-in libraries for a variety of applications. Python.org provides a comparison of Python and other programming languages here.
If you want to make an iPhone app, you might consider Swift. Swift is primarily used for iOS development, including macOS, iOS, watchOS and tvOS. Also open-source, Swift has grown to include system and desktop programming.
Java was designed to be easier to use than C++ and is a general-purpose programming Language. It used in desktop apps and website backend systems, including for tech giants and Fortune 500 companies. It also the basis for Hadoop, a framework used to store and process big data.
PHP is a scripting language used to develop websites and web applications; for example, it can be used with WordPress.
C++ is used often used to develop audio and video apps, game engines and games because it has high speed and ability. While difficult to learn, it can provide a solid foundation for learning other languages in the future. Adobe Systems, Amazon, PayPal and Chrome are all built on C++.
C# was designed originally by Microsoft, so it is therefore useful for creating apps for the Microsoft platform. It’s commonly used to create desktop applications, mobile cross-platform applications and websites. C# is relatively easy to learn as it was designed to be simple.
Structured Query Language (SQL) is used to interact with relational databases, including updating, retrieving and manipulating data. Although the language itself is fairly simple, SQL can be used in powerful ways to handle structured data. Many companies use database management systems that have SQL built in so that they can use SQL.
Does the Language Have Staying Power?
While one of the above languages might be suited toward your needs, it’s also important to consider the future of the language. Will it be useful next year, let alone five years from now? Two good sources to consider for this are Stack Overflow’s annual survey and Google Trends.
Comparing programming language search trends in Google Trends can also be a helpful way to gauge popularity and staying power. For example, you can see that Python has steadily increased in popularity over the past five years.
Is It Hard to Learn?
How to Get Started
All of this information can seem overwhelming. The important thing to remember is that everyone starts from somewhere – no one wakes up a programming expert overnight. You’re learning a new language. Would you expect to be able to learn French in a week?
Here are some tips for getting started:
Start With One Language
Trying to learn a bunch of languages at once is confusing, as you’ll be mixing syntaxes. Choosing one language to start with, and really get a firm grasp on, can help you learn other languages in the long run.
Create Projects To Stay Motivated
Learn the Language’s Philosophy
It’s one thing to memorize the syntax and rules of a programming language. It’s another to grasp the philosophy and ideas behind the language. Each programming language was designed not only for a specific purpose, but also with an ideology behind it. Take Swift. Not only is was it created for iOS development, but it was also created to be safe and user-friendly. These important facets inform the language’s structure and how to best use it.
Find a Friend
Learning to code alone is tough. Having someone there to debug with can help ease the frustration of not getting it right. And, having a friend learning to program with you can help you stay motivated for when you feel like giving up.