My Photo
Name:
Location: Dublin, Ireland, Ireland

Wednesday, May 24, 2017

What Programming Language Should a Beginner Learn in 2017

What Programming Language Should a Beginner Learn in 2017


An Overview of Programming Languages

Before we go into comparing programming languages, let’s first take a look at the languages we’re going to be covering.

Dynamic Languages

Dynamic languages are generally easier for total beginners to learn because they’re flexible and fun. You can quickly build an app from scratch with less lines of code, and there is no hard rule on how to write things to behave in the way you want them to. As dynamic languages are usually very high level languages, you'd spend less time trying to get the details right and more time learning programming concepts, which is another reason dynamically typed languages are popular with beginners who are motivated by being able to build things and see results quickly.

JavaScript

Not to be confused with Java, JavaScript is primarily a client-side scripting language used for front-end development. JavaScript is compatible across all browsers and is used to create interactive web apps, often through libraries such as jQuery and front-end frameworks such as AngularJS, Ember.js, React, and more.
JavaScript can also be used as a server-side language through the Node.js platform. Two years ago, Node.js was still quite young, but its community has grown a lot since then, and you can now find many resources here. You can also build hybrid mobile apps with JavaScript through using frameworks such as phonegap, while Facebook’s React Native allows you to build native mobile apps with JavaScript.
However, JavaScript is also known as a difficult language because it is untyped and, thus, difficult to debug. There are statically typed versions, such as Microsoft's TypeScript or the JSX, that React uses.

Ruby

Ruby was developed so developers can have fun and be productive at the same time. Ruby was made popular by the Ruby on Rails framework, a full-stack web framework optimized for programming happiness. As Ruby reads like English and Rails has tools that make common development tasks easier “out-of-the-box”, many would recommend learning Ruby as your first programming language.
Ruby is mostly used for back-end development, and popular sites such as Airbnb, Shopify, Bloomberg, Hulu, Slideshare, and more, were all built with Ruby on Rails.

Python

Python is another highly recommended language for beginners, and is the most popular introductory language at Top U.S. Universities.
Developers have used Python to build desktop apps and web apps alike, and it has great tools for data mining. In addition, Python is particularly popular in academic communities for scientific computing, data analysis, and bioinformatics.
Google, Dropbox, Pinterest, Instagram, Reddit, BitTorrent, Civilization IV, and more, were built with Python.

PHP

PHP is a server-side scripting language and is usually considered beginner-friendly. It’s easy to conceptualize what the PHP code will do, which makes it easy to pick up. Most websites have been built with PHP because the language is heavily specialized for the web.
Facebook, Wikipedia, Yahoo!, Tumblr, Wordpress, and more, were built with PHP.

Statically Typed Languages

Apps built with statically typed languages are known to be more scalable, stable, and maintainable. Static languages are usually more strict in catching errors through type checking, and it takes more code to build a prototype. Game engines, mobile apps, and enterprise-level back-ends are usually built with statically typed languages.

Java

As a general-purpose language, Java is used to build Android apps, desktop apps, and games. Java is also commonly used as a server-side language for enterprise-level back-end development - 90 percent of Fortune 500 companies use Java.
Furthermore, Hadoop is a popular Java-based framework used for storing and processing big data, and is implemented by enterprises such as Yahoo, Facebook, and Amazon Web Services.

C

C is often used to program system software and is the lingua franca of Operating Systems.
C has influenced almost every programming language we’ll be examining in this article, especially Objective-C and C++. So, if you know C well, it'd probably be easier for you to pick up other popular languages. Since C takes more complex code to perform simple tasks, beginners may find it tough to stay motivated if this is their first language. However, knowledge of C will definitely help you as a programmer in the long run.

Objective-C / Swift (for iOS development)

Objective-C is a layer built on top of the C language, which makes it static. With that said, it can also be used for dynamic typing. Apple’s Swift is a static language designed to be compatible with Objective-C, but its static-typing makes it more resilient to errors.
Inspired by Python, Swift is designed for coding newbies to pick it up easily and is aimed at fixing some of the issues of Objective-C.

C++

C++ is a powerful language based on C. It is designed for programming systems software, but has also been used to build games/game engines, desktop apps, mobile apps, and web apps. C++ is powerful and fast — even Facebook has developed several high performance and high reliability components with it.
Many softwares have been built with C++, including Adobe Systems, Amazon, Paypal, Chrome, and more. Much like C, C++ is generally considered harder for beginners to learn on their own. So, if you decide to learn C++ as your first programming language, feel free to look for a mentor via Meetups or find a C++ Codementor.

C

C# ("C Sharp") is developed to be used for Microsoft’s .NET framework, which runs primarily on Microsoft Windows.
C# is used for web development, game development, and general Microsoft development. Although Microsoft has not been known for being cross-platform compatible in the past, Xamarin has been working on an open-source project called Mono, which aims to port C# to other platforms and bring better development tools to Linux developers. Recently, you can also use C# to build native mobile apps for iOS and Android through Xamarin.

Other

SQL

SQL ("Sequel"), or Structured Query Language, is a query language used to communicate with databases. Although SQL cannot be used to build apps, it is used to manage the data in apps that use relational database manage systems (RDMS).
You Might Also Want to Read: Become a Developer with these 20+ Resources

Job Opportunities

So, now you know a bit about different programming languages and their perceived difficulty. With that said, not all languages have the same demand or salary. If your goal in learning how to program is to increase your job opportunities and you aren’t going to be dissuaded by how hard people say a language is going to be, here are some pointers to help you figure out what language you should learn.
Based on the salaries estimations from indeed.com’s analysis of job ads, we can pretty much divide programming languages into 9 tiers:
:
Based on this result, it appears that Ruby/Ruby on Rails will rake you in the most money, while Python, C++, iOS and JavaScript are also decent choices. In addition, if salary is your main concern, then maybe C, PHP, and SQL aren’t the most ideal choices... or are they?
Average salary can be affected by many things such as demand (how many job postings there are), supply (how many developers know the language) and experience (a junior developer would naturally earn less than a senior developer), so it’s a good idea to take a deeper look at these elements before jumping to any conclusions.
How likely are you to get a job based on the programming language you know? Here’s a quick look at job trends from indeed.com:
programming language job demand
We can see that C, SQL, Java, and JavaScript are often mentioned in job postings, while C#, C++, and Python are also handy languages to know.
However, if your goal is to work at a startup, then perhaps the job trends from indeed.com is not the best indicator. AngelList is pretty much the go-to place for startup job postings, so we’ll take a look at the demand for programming skills based on the software developer ads in AngelList.
Again, JavaScript turns out to be the most demanded skill, but startups seem to favor Python and Java (it was Ruby (on Rails) 2 years ago!) more than Ruby, PHP, C, or C#.

The Developer Supply Market

Let’s take a look at what mentors on Codementor are skilled at:
Of course, this is by no means an accurate depiction of the actual market, but it should give you a good idea of developer supplies. As you can see, even though the mobile app business has been booming for some time now, Objective-C experts are still mighty scarce. With a scarce supply of good Objective-C developers, their compensations would naturally be higher.
PHP, on the other hand, seems to have a healthy amount of supply in the workforce, which means employers would have more options, and thus, more bargaining power in terms of salary. With that said, PHP developers are not as highly demanded as Java, SQL, or JavaScript developers. Therefore, PHP developers generally earn less.
JavaScript is a pretty special case. Despite having the highest supply, JavaScript developers are not at the bottom of the salary tier — we’ll take a look at JavaScript later in this article.

Salary Range

Now that you have an idea of what the demand and supply for each language is, let’s take a look at the potential salary you could earn based on salary information from job ads. The data comes from gooroo.io, where salary is usually derived as the average value of the salary range offered by individual job ad.
Here, you can see that developers who know Ruby, C++, or Java appear to have higher starting salaries. Python and Ruby developers seem to have the highest potential salaries, which means good Ruby/Python developers are scarce and highly demanded. JavaScript seems to have experienced a large drop in potential salary, reaching its high at 188,168 USD in April 2015 — now it's at roughly $107k. Nonetheless, JavaScript remains a special case, and let's see why.

Special Case: JavaScript Frameworks

Merely comparing the JavaScript language against other programming languages is an inaccurate outlook on how much you can earn if you know JavaScript.
As mentioned in the overview of programming languages, JavaScript is a huge category. Many frameworks have been developed to facilitate front-end website development, so if you only know JavaScript and jQuery, you’d probably earn less than other JavaScript developers who know some sort of JavaScript framework.
Let’s take look at the average salary for different JavaScript framework developers in the US (note: arguably, React & Backbone are libraries, not frameworks, and Node.js is more of an environment):
Now the average salaries don't look that bad. Node.js, in particular, has a very nice future outlook. Since you’d have to know JavaScript to learn these technologies, JavaScript is a rather profitable skill.
Let’s also take a look at the demand for developers of these frameworks:
Node.js is usually used for back-end development, so if we're just looking at front-end frameworks, you can see that AngularJS appears to be a clear winner with rocketing demand. Thus, if you want to get into front-end JavaScript development, you might want to learn AngularJS.
React, on the other hand, is a fairly new technology, and has been gaining momentum at a speed that rivals AngularJS's early stages. It’s possibly still in the stage of gaining momentum and may potentially become more widely demanded, as it is in general more performant than AngularJS and thus will provide a better user experience.
Here's a helpful guide on how React.js and Angular JS compare.

Programming Resources

If you know a little bit about the developer world, you'd probably know how important and helpful it is to have support from other developers, especially if you plan to learn on your own.
Being a part of a supportive community will definitely make your development life easier.

StackOverflow

StackOverflow is, by far, the largest community used by developers around the world to help and get help from other programmers, so, we’ll be examining how large/popular a programming language community is as well as how helpful the communities for different languages are.

Language Popularity

Based on the tag followers on StackOverflow, we can see the overall popularity of a language:
We already know from examining job trends that Java and JavaScript developers are in highest demand, so it’s no surprise they also have the most tag followers. JavaScript is now the most used tag in StackOverflow, superseding Java. (Interesting how Stanford University recently decided to replace Java with JavaScript in its introductory programming course!)
SQL, Ruby, and Swift have the least followers, though this is likely because Ruby is almost strictly used for web development, while Swift is a relatively new language.

StackOverflow Answer Rate

StackOverflow has an unspoken rule where you have to phrase your question “correctly”, or people won’t bother answering you. With that in mind, let’s take a look at how likely your questions would be answered for each language:
Based on our information, although fewer StackOverflow users follow C, SQL, and C++, over 60% of their related questions get answered. Those in the know would probably argue that C and C++ are advanced languages, which means the users who are asking these questions are most likely more experienced programmers who know how to phrase their questions better. SQL, on the other hand, is not used to build things.
What’s noteworthy is how supportive Python and Ruby developers are on StackOverflow. Since Python and Ruby are the most recommended languages for beginners, there are significantly more questions about these two languages. As we hinted at earlier, beginners usually have trouble asking their questions correctly. One would assume that beginner questions would go largely unanswered — surprisingly, almost 60% of the questions about Python and Ruby get answered within 30 days.
On the other hand, PHP, while being quite a widely-followed language, has one of the lowest answer rates. This means a lot of people are asking about PHP, but not many are getting their questions answered.

GitHub

Once you get into the development stage, you’ll eventually learn that it’s best to use an existing solution for your own projects when possible. You’d typically get this from open-sourced projects, and GitHub is the way to go for these things. Users can star projects they like, and the more stars a project has, the more useful it is likely going to be.
Thus, from examining data from GitHub, we can also determine the relative ease in developing projects using different types of languages. We can also have an idea of how fast a language is innovating new technologies. Without further ado, here is a simple chart to visualize the distribution of popular GitHub projects:
Clearly, JavaScript has the most shiny new tools, even when we exclude all the style-guides, learning resources, and tutorials. JavaScript is known for being an extremely fast-moving language with a high churn rate for frameworks and new technologies — developers may sometimes find it difficult to keep up with the constant innovations. Additionally, other than the Node.js platform, JavaScript is mostly used for front-end development, so it’s not directly “competing” with other back-end languages such as Ruby, Python, Java, and PHP. With that in mind, it is not surprising that there is such a large gap between JavaScript and other programming languages.
Ruby and Objective-C, on the other hand, also have a lot of tools and resources for development. Now, we’ve seen in the StackOverflow comparison that both languages aren’t as popular as languages like Java. Contrary to StackOverflow, developers have generally found the open source projects in GitHub quite useful. This is especially true for Objective-C if you examine the total projects written in each language:
In addition, most open source projects written in C/C++ aren’t for C/C++ development itself — they’re just tools written to help development in general (for example, the most commonly used Python interpreter is CPython, which is written in C). As mentioned earlier in the introduction to programming languages, C/C++ are mostly used for developing systems applications, so it makes sense that the open source projects on GitHub are system tools. Nonetheless, you can learn a lot from these open source projects.
Finally, SQL and Swift are lagging behind in terms of resources available.

The Future of Each Programming Language

How relevant will a specific programming language be in the future? First of all, the future of a language will largely depend on the growth of its community, as fresh blood/adoption rate is what keeps a language popular and ensures that it will continue to have resources. Thus, let's take a look at what languages people are most interested in learning:
programming language popularity
Looks like Python, JavaScript, Java (C# came in third in 2014), and C++ have received the most growth in interest. Based on current known trends, we can draw the following conclusions:

JavaScript

JavaScript is, without a doubt, just going to become increasingly popular, especially because it can now be used for back-end development and can even potentially build native mobile apps (through React Native). JavaScript continues to get more tools and updates at a fairly fast pace, so you can expect it to remain extremely important in the future.

Ruby

Startups love Ruby on Rails. Many famous websites, such as Airbnb, Twitch, Hulu, etc., are built with Rails, which means they’re always looking for Ruby developers. Also, since developers usually have a lot fun with Rails and it's fairly easy to pick up, Rails will most likely continue to be popular among coding newbies.
That said, the rise of Node.js will definitely have an impact on the popularity of Ruby on Rails — Node.js has already overtaken Rails on Github. While this isn’t an absolute sign that Node.js will overtake Rails, we should note that a few years back, Rails overtook Python’s biggest web framework, Django, for back-end development, and Rails had more stars than Django.
Moreover, a new trend for "isomorphic" apps will likely affect Rails adoption, a practice that is said to improve web app performance. Since isomorphic apps pretty much need to run on the Node.js platform, which is in JavaScript (the same language used in front-end), Node.js will most likely only become more popular with time. The appeal of only having to be well-versed in one language (JavaScript) may also shift some potential new blood away from learning Ruby. Google's Go is another back-end alternative that has received some attention in the last two years.
However, since Rails continues to get frequent updates, it will still remain relevant for a while. Not to mention, it has a tremendously loyal community with tons of useful tools to help make development easier. Thus, despite a decline in popularity, Ruby will still be sticking around.
Want to Learn Ruby on Rails? Here are some great resources!

Python

Python is popular among academic researchers and data scientists, and as mentioned before, many schools choose to introduce beginners to coding through Python. This means Python will continue to grow steadily and remain relevant. While Python won’t be evolving as fast or seeing the same explosive growth in popularity and demand as JavaScript, it will continue strong, especially when there is such a high demand for data scientists.
Want to Learn Python? Get Python Training

PHP

The trends for backend development has been shifting away from PHP for some years now, but 80% of websites on the web are still built with PHP — it was a language designed for the web, after all.
Nonetheless, if you Google what programming language beginners should learn, you’d find that developers generally don’t recommend learning PHP. In fact, many developers apparently hate it.
The PHP community is trying to shake off its bad reputation with new guidelines on how to code PHP the Right Way and new tools, but in general, the future of PHP seems rather stagnant as of 2015 (at least in the U.S.). Though some had hoped that PHP7 would revitalize the community, it is still known to be quite fragmented.

Java

Android has been a big boost in keeping Java the most popular programming language, and most enterprises also love Java for its relative stability and scalability.
With the rise of Spark (which uses the Scala language) and Cassandra (which supports other languages), it’s hard to say how long Hadoop will continue to reign as the most popular big data framework. With that said, given how large enterprises behave when it comes to change, Hadoop won’t be going away. The same can be said about the Java programming language in general, as Java has excellent tools for back-end development and is much more established for enterprise development.
Thus, Java will continue strong as one of the most relevant programming languages in the next few years.

Objective-C/Swift

Since Apple released Swift, and Objective-C only works for Apple products, one cannot expect Objective-C to stick around too much longer in the future. Swift, on the other hand, will of course be relevant for the years to come, as long as people continue to use Apple products.
With that said, this doesn’t mean you shouldn’t learn Objective-C in 2017, since most open-source projects for iOS development are still written in Objective-C. Generally speaking, using something you don’t understand is not a good idea. Not to mention, it's not that difficult for you to learn Objective-C if you know Swift or vice versa.
Want to build iOS apps? Learn Swift with our favorite mentors!

C

C is quite low-level compared to other programming languages, but since it's the OS lingua franca and many development tools are written in C, including Linux, it will be sticking around.

SQL

SQL is almost universally understood by database administrators. For a while, SQL seemed to have lost its relevance with the rise of NoSQL services, such as MongoDB and Redis, and non-SQL-using Big Data computing platforms, such as Hadoop, Spark, and Cassandra. Many people were howling about how SQL was dying.
Apparently not any more. As a result, even NoSQL had to reposition itself as “Not Only SQL.
With the rise of big data and the difficulty of managing it, SQL is hotter than ever (as you already know from the job trends). Google has also recently updated its BigQuery service so it can now ingest up to 100,000 rows per second per table, and BigQuery uses SQL. Spark's also had the Spark SQL Module since version 1.3. For products like ClustrixDB, DeepSQL, MemSQL, and VoltDB, all you need to do is add commodity nodes instead of bulking up a database server.
All in all, SQL is relevant again because it’s needed to manage and analyze (not store) big data. The developer's community is even predicting some sort of unification of SQL and NoSQL. Either way, not only is SQL everywhere, but it’s also safe to say SQL will continue to be relevant.

C++

C++ is still considered the most powerful language in terms of performance and capabilities (even against Rust), C++ will most likely continue to be relevant in certain areas such as things that need high performance (e.g. game engines). Since ISOCPP (International Organization for Standardization) has completed its work on C++17, which is in its final ISO balloting process, it'll most likely start working on C++20 in July 2017. All that to say, it's still an evolving language.
In the future, Rust may potentially replace C++ in some areas of systems programming, as Rust aims to be able to produce less-vulnerable software than C++ does. Read more about how Rust compares to other languages here. Regardless of whether Rust will actually take over C++, now is a good time to learn Rust if you're an advanced developer.

C# 

Being limited to Microsoft platforms and being closed-sourced did not work in C#’s favor in the past, but thankfully Mono came to the rescue (though Mono had some performance issues in the past, its recent updates have improved them).
Developers who’ve worked with C# seem to love the C# programming language, and the passion continues to fuel the strong community. Not to mention, C# is the primary language for Unity 3D, a rather popular game engine that could also works on iOS, Linux, etc. The rise of Unity3D as the de facto indie game engine and VR apps has solidified C#'s future. Since VR is a big thing, and will continue to be a big thing, C# is sure to have a pretty bright future.
Besides, C# is also pretty popular for enterprise development in countries other than the U.S., such as the UK. Obviously, Microsoft will keep C# alive for a while and keep it relevant for the .NET platform. In fact, it has been aggressively open-sourcing its products and making it more accessible so developers can adopt it.

Conclusion

What language should a coding beginner learn? Clearly, if you wish to get into web development, you’d have to learn JavaScript, whether you like it or not. If you want to do back-end web development, you must learn some form of SQL.
Furthermore, if you want to mine websites for data or if you’re interested in being a data scientist, then Python is a good language to learn. If you want to work for an enterprise, then Java is the way to go. If you’re actually not that interested in building things and you’re more interested in job opportunities, then perhaps SQL is a nice place to start (especially if you like math).
Altogether, what programming language you should learn in 2017 will ultimately depend on what you want to do.

21 Comments:

Blogger Unknown said...

This blog provided good information for the students way to explore lots of new areas on Career.Thanks for providing this useful you!

Best Regards,
ReactJS Online Training in Hyderabad

2:25 PM  
Blogger Suba said...

PHP is an evergreen web development programming language where it is the top preference for every developer. Thanks for your update on PHP language.
PHP Training in Chennai
PHP Course in Chennai

11:50 AM  
Blogger Ram Ramky said...

Hi admin, I am very much impressed in your blog on Web development. Eagerly waiting for your next blog, keep updating frequently.
web development courses in chennai
Web Development Training in chennai

1:14 PM  
Blogger Ram Ramky said...

Excellent blog!! Such an interesting content to read, your idea made to take Web Designing Certifications. Keep updating more ideas. Thank you.
web designing institute in chennai
web designing training institutes in chennai

1:17 PM  
Blogger blackkutty said...

This blog gave great data to the understudies approach to investigate heaps of new regions on Career. Thanks for giving this valuable you!
planet-php

9:45 AM  
Blogger Unknown said...

Thanks for sharing information with clear explanation. This is really awesome to understand.

Web Designing Training in Chennai | Angularjs Training in Chennai

12:58 PM  
Blogger Kamal said...

I am especially awed in your blog on Web improvement. Enthusiastically sitting tight for your next blog, continue refreshing often.
Article Submission sites | Technology | Education | Daily Consumer Life

3:05 PM  
Blogger Radha Karthi said...

I think this is the best article today about the future technology. Thanks for taking your own time to discuss this topic, I feel happy about that curiosity has increased to learn more about this topic. Keep sharing your information regularly for my future reference.
PHP Institutes in Chennai
PHP Training Center in Chennai

2:08 PM  
Blogger Sumaya Manzoor said...

Nice post! definitively I will come back to update me on this technology Thanks for the informative post. Keep doing.
web development courses in chennai
Web Development Training in chennai

1:20 PM  
Blogger Ram Ramky said...

Wonderful Blog on recent updates, I have updated my knowledge through your blog, Thanks admin for sharing the recent information.

JAVA Training in Chennai
JAVA Course in Chennai

1:50 PM  
Blogger Ram Ramky said...

This comment has been removed by the author.

1:51 PM  
Blogger Tejuteju said...

Nice InformaRuby on Rails Online Training Bangalore

3:25 PM  
Blogger Unknown said...

Informative blog thanks for providing such a great information.
AngularJS Training in Chennai | AngularJS Training Institute in Chennai

9:39 AM  
Blogger Nina Athena said...

Thank you for sharing your thoughts and knowledge on this topic. This is really helpful and informative, as this gave me more insight to create more ideas and solutions for my plan. I would love to see more updates from you.

Web Development Services

6:24 AM  
Blogger Rakesh said...

Such an amazing blog with new updates. I love to learn more about this topic. Waiting for more like this.
ReactJS Training in Chennai
ReactJS course in Chennai
ReactJS Training

8:57 AM  
Blogger janathan said...

very nice article...
Free Inplant Training Course For ECE Students
INTERNSHIP
INTERNSHIP FOR AERONAUTICAL ENGINERING STUDENTS IN INDIA
INTERNSHIP FOR CSE 3RD YEAR STUDENTS
Free Inplant Training Course for Mechanical Students
INTERNSHIP FOR ECE STUDENTS
INPLANT TRAINING FOR CIVIL
INTERNSHIP AT BSNL
INTERNSHIP FOR 2ND YEAR ECE STUDENTS
INTERNSHIP FOR AERONAUTICAL STUDENTS

11:49 AM  
Blogger janathan said...

great
foreach loop in node js
ywy cable
javascript integer max value
adder and subtractor using op amp
"c program to find frequency of a word in a string"
on selling an article for rs 1020, a merchant loses 15%. for how much price should he sell the article to gain 12% on it ?
paramatrix interview questions
why you consider yourself suitable for the position applied for

2:24 PM  
Blogger Aruna said...

It's very Refreshing to see all your posts...Keep it up!!!
Java training in chennai | Java training in annanagar | Java training in omr | Java training in porur | Java training in tambaram | Java training in velachery

1:08 PM  
Blogger Elevators and Lifts said...

Nice Post. Home lifts India | Domestic lifts |Home lifts Malaysia |Home lifts | Vacuum lifts

7:12 AM  
Blogger Nibav Lifts for Homes said...

We are manufacturing world's best lifts for homes in India. We are providing the certified lifts for your homes, buildings, bungalows and villas. A leading Home Lifts Company take us to the next level with understanding of home Lifts & Elevators. There are many Home lifts companies are there. Nibav Lifts is one of the best small lifts for homes in India.

7:04 PM  
Blogger pratikshaK said...

great post. Data Science Classes In Amravati

7:06 AM  

Post a Comment

<< Home