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 an analogous 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 general language recognition throughout constituent teams.
I used to be curious. Given the info, 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 combo? The result’s this very fairly diagram.
That one diagram incorporates a variety of data. Let’s attempt to break it down into extra manageable chunks, beginning with the most well liked languages.
The highest languages
Python is a sublime language. It is easy but enormously highly effective and has change into the go-to language for AI and knowledge scientists, in addition to basic internet growth. It not unexpectedly moved to first place.
Additionally: How LinkedIn’s free AI course made me a better Python developer
JavaScript has change into an increasing number of central to internet growth, particularly within the creation of dynamic internet paperwork. Frameworks like React and Angular have additionally helped develop its usefulness and pushed it above different languages.
The constant performers
If there are any languages that embody basic programming, they’re the C-based languages: Java, C++, C#, and C itself. Proving that algorithmic coding nonetheless has a variety of life, these languages had been basically unchanged.
Certain, Java dropped two positions in our index, however it’s nonetheless within the winner’s circle. Java is a sturdy, object-oriented programming language generally utilized in enterprise functions and in addition in Android growth. Regardless of competitors from different languages, there are an unlimited variety of programmers and functions preserving it related. For these of you who do not observe languages too carefully, 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 historical C, including object-oriented options. Whereas C dates again to 1972, C++ remains to be fairly historical, 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 broadly 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 programs.
For the highest six languages, the one adjustments over the eight years have been a number of 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 are actually 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 basically a contemporary JavaScript, including static typing. This improves code high quality and makes upkeep simpler, particularly as initiatives develop. Its means to scale JavaScript initiatives might be one of many components resulting in its rising recognition. One other is that it has been included into main JavaScript frameworks.
Rust is a language used closely in programs programming. Its deal with reminiscence security with out sacrificing efficiency has helped it take some programs 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 lessons 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 cellular UIs, and Flutter helps builders deploy throughout platforms.
The rising stars
Excluding Go, our rising stars are actually previous faithfuls, simply with a bit of 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 change into standard for cloud computing, microservices, and containerization.
Since we have talked about static typing a number of occasions, possibly I ought to clarify it to you. Variables are coding containers that comprise values that change. The values which are assigned usually belong to differing types (like integers, strings of characters, floating level numbers, and so forth). Typically 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 might 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 subsequent few languages brought on some debate in earlier articles. Some programmers declare they are not even actual languages. I’ve included them as a result of they had 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 mandatory to supply functions.
HTML (which defines the construction of internet pages) and CSS (which defines the model) will in all probability by no means get previous. And webpages, whether or not within the type of total websites or simply items of output, are desk stakes for many fashionable initiatives. Why they rose since 2016? Internet 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 vital, so too is the flexibility to retrieve it.
Shell programming, which is a instrument for programming sequences of applications, has been round because the 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 programs, however it’s the necessity for an increasing number of automation and orchestration in complicated programs environments that is preserving these old style instruments related and consistently evolving.
Languages shedding recognition
Languages dropping in recognition embrace PHP, Swift, Ruby, and R.
As a result of WordPress is in-built PHP and I do a variety 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 liable 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, notably 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, every thing R may do, Python can do higher. Are you beginning to see why Python is so standard?
After which there’s Swift, Apple’s poster youngster for iOS growth. Does the drop of Swift imply that iOS apps are dropping in recognition? No, not likely. It is simply that Swift is 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 surroundings for Apple units, however Apple actively changed it with Swift. So, basically, Goal-C is out of date.
Perl is wonderful for what it does, however its code is so compact as to be practically unreadable. That additionally makes it a lot tougher to keep up. As coding initiatives change into bigger and bigger, maintainability turns into extra vital 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 Fundamental and Delphi had 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 every thing else. They are not forgotten however largely gone.
What do you utilize?
What languages are you utilizing? Have any of your favourite change into 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 observe my day-to-day challenge updates on social media. Make sure you subscribe to my weekly update newsletter, and observe 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.