Over the previous few weeks, we have been discussing programming language recognition right here on ZDNET. Most just lately, I aggregated knowledge from 9 completely different rankings to supply the ZDNET Index of Programming Language Popularity.
Additionally: The most popular programming languages in 2024
Whereas pulling these stats collectively, I discovered my uncooked knowledge from the same survey I did again in 2016. Whereas that examine was based mostly on six rankings as a substitute of the 9 I used this yr, it nonetheless proved instructive relating to total language recognition throughout constituent teams.
I used to be curious. Given the information, how did language recognition change over the past eight years? Clearly, the large change in our computing panorama has been AI, so the place did that match into the combination? The result’s this very fairly diagram.
That one diagram accommodates a whole lot of info. Let’s attempt to break it down into extra manageable chunks, beginning with the most popular languages.
The highest languages
Python is a chic language. It is easy but enormously highly effective and has turn out to be the go-to language for AI and knowledge scientists, in addition to common internet growth. It not unexpectedly moved to first place.
Additionally: How LinkedIn’s free AI course made me a better Python developer
JavaScript has turn out to be increasingly central to internet growth, particularly within the creation of dynamic internet paperwork. Frameworks like React and Angular have additionally helped broaden its usefulness and pushed it above different languages.
The constant performers
If there are any languages that embody traditional programming, they’re the C-based languages: Java, C++, C#, and C itself. Proving that algorithmic coding nonetheless has a whole lot of life, these languages have been primarily unchanged.
Positive, Java dropped two positions in our index, however it’s nonetheless within the winner’s circle. Java is a strong, object-oriented programming language generally utilized in enterprise functions and likewise in Android growth. Regardless of competitors from different languages, there are an infinite variety of programmers and functions preserving it related. For these of you who do not comply with languages too intently, Java and JavaScript are fairly completely different beasts.
Additionally: The best AI for coding in 2024 (and what not to use)
C++ is the extension of historic C, including object-oriented options. Whereas C dates again to 1972, C++ remains to be fairly historic, having been initially deployed in 1985. Nonetheless, it is standard for compiled, performance-sensitive functions that want object-oriented construction.
C# is Microsoft’s tackle C++, used extensively in Home windows functions and Home windows video games. It is quick, environment friendly, and completely baked into the Microsoft growth ecosystem.
I am actually a bit shocked at C’s longevity. That mentioned, it is tight. It has no added cruft and does simply what it says on the tin. It is well-appreciated in sure areas of OS growth, compilers, and embedded techniques.
For the highest six languages, the one adjustments over the eight years have been just a few place shuffles. However now, as we transfer on to languages rather less universally standard, we see that volatility has been pretty excessive.
The brand new entrants
TypeScript, Rust, Kotlin, and Dart weren’t on our 2016 listing however at the moment are on our 2024 listing. All 4 existed earlier than 2016 (though Rust was barely a yr previous on the time), however now, they’re seeing stronger uptake.
Additionally: AI development and agile don’t mix well, study shows
TypeScript is one other Microsoft-originated language. It’s primarily a contemporary JavaScript, including static typing. This improves code high quality and makes upkeep simpler, particularly as tasks develop. Its capacity to scale JavaScript tasks might be one of many components resulting in its rising recognition. One other is that it has been integrated into main JavaScript frameworks.
Rust is a language used closely in techniques programming. Its give attention to reminiscence security with out sacrificing efficiency has helped it take some techniques work from C and C++.
Kotlin is basically Java on steroids. Kotlin is absolutely interoperative with Java, including some coding security options, serving to coders write extra concise code, including coroutines for asynchronous code, permitting programers to increase courses utilizing extension features, and extra. Google selected Kotlin as the popular language for Android, which gave it a robust enhance.
Additionally: Productivity and patience: How GitHub Copilot is expanding development horizons
Dart and Flutter sound like one thing out of a Disney film, however as a substitute we’re speaking language and framework. Dart, developed by Google, excels at constructing cell UIs, and Flutter helps builders deploy throughout platforms.
The rising stars
Except Go, our rising stars are actually previous faithfuls, simply with a little bit extra spring of their step.
Go is one other statically typed language developed by Google. It supplies a reasonably easy construction for constructing scalable, concurrent functions. Go has turn out to be standard for cloud computing, microservices, and containerization.
Since we have talked about static typing just a few instances, perhaps I ought to clarify it to you. Variables are coding containers that include values that change. The values which can be assigned usually belong to differing kinds (like integers, strings of characters, floating level numbers, and so forth). Usually compilers and interpreters do not verify what kind of worth ought to go together with what variable.
Additionally: How to use ChatGPT to write code: What it can and can’t do for you
Issues could come up from this subject as soon as deployed however could also be missed throughout growth. Static typing checks variables and values through the growth course of, resulting in extra dependable code as soon as deployed. It will be magic, besides it is a mere matter of programming.
The following few languages brought about some debate in earlier articles. Some programmers declare they are not even actual languages. I’ve included them as a result of they have been included within the surveys I aggregated. And with that, let’s focus on SQL, HTML, and shell.
Algorithmic programmers (particularly the C/C++/C# selection) will take a look at HTML and SQL and decry them as not actual languages. That is as a result of they do not have typical algorithmic programming options. However they’re based mostly on a syntax that generates a outcome, and, extra to the purpose, they’re abilities essential to supply functions.
HTML (which defines the construction of internet pages) and CSS (which defines the type) will in all probability by no means get previous. And webpages, whether or not within the type of complete websites or simply items of output, are desk stakes for many fashionable tasks. Why they rose since 2016? Net growth stays key to digital transformation, so abilities are in demand.
Additionally: The best free AI courses
SQL (structured question language) is a language for retrieving knowledge from databases. As knowledge turns into more and more necessary, so too is the flexibility to retrieve it.
Shell programming, which is a device for programming sequences of packages, has been round for the reason that daybreak of time. It is one of many options that has given UNIX after which Linux such energy. Types of shell programming exist for all main working techniques, however it’s the necessity for increasingly automation and orchestration in advanced techniques environments that is preserving these old-fashioned instruments related and continuously evolving.
Languages dropping recognition
Languages dropping in recognition embrace PHP, Swift, Ruby, and R.
As a result of WordPress is in-built PHP and I do a whole lot of WordPress programming, I program heavily in PHP. It isn’t all that enjoyable. PHP is a really inelegant language, with bizarre inconsistencies and exceptions. It is highly effective and succesful however ugly and vulnerable to pointless errors. It is dropping in recognition as Python is growing.
Additionally: How I used ChatGPT to scan 170k lines of code in seconds and save me hours of detective work
Ruby is one other language that had its time within the solar, however there are higher alternate options. JavaScript, significantly mixed with Node.js, Python, Go, TypeScript, and Rust are all extra versatile, highly effective, and code-safe alternate options.
I used to be actually shocked to see the statistical language R drop, particularly as knowledge evaluation requires stats. However the truth is, all the pieces R might do, Python can do higher. Are you beginning to see why Python is so standard?
After which there’s Swift, Apple’s poster little one for iOS growth. Does the drop of Swift imply that iOS apps are dropping in recognition? No, probably not. It is simply that Swift is now not the one recreation on the town for iOS growth. Options embrace AppCode from JetBrains, Flutter developed by Google, React Native created by Fb, and the highly effective Unity recreation growth platform.
Languages that fell off the chart
It is smart that Goal-C ought to drop off the charts. This was as soon as the principle programming setting for Apple gadgets, however Apple actively changed it with Swift. So, primarily, Goal-C is out of date.
Perl is wonderful for what it does, however its code is so compact as to be almost unreadable. That additionally makes it a lot more durable to keep up. As coding tasks turn out to be bigger and bigger, maintainability turns into extra necessary than how few characters it takes to write down a line of code.
Additionally: How I test an AI chatbot’s coding ability – and you can, too
Visible Primary and Delphi have been as soon as mainstream languages for constructing Home windows functions, however they’ve been changed by internet growth for some functions and C# for all the pieces else. They are not forgotten however principally gone.
What do you employ?
What languages are you utilizing? Have any of your favourite turn out to be rising stars or fallen off the charts? Do you agree with my evaluation about why the languages have risen or fallen? Did any of the outcomes shock you? Tell us within the feedback under.
You may comply with my day-to-day challenge updates on social media. Be sure you subscribe to my weekly update newsletter, and comply with me on Twitter/X at @DavidGewirtz, on Fb at Facebook.com/DavidGewirtz, on Instagram at Instagram.com/DavidGewirtz, and on YouTube at YouTube.com/DavidGewirtzTV.