It’s foolish to choose a language solely on the basis of average salary and number of job opportunities. Is this what programming is all about, making money? They have a word to describe such a money-grubbing individual: whore.
Whatever happened to choosing a profession for the love of it? You should enjoy what you do, not merely enjoy the remuneration.
There are so many other worthy languages that you would ignore, just because they don’t offer the highest salaries. C++ is a very important language for robust, large-scale software engineering. Its phenomenal performance makes it ideal for high-performance computing, AAA video games, computer graphics, systems and real-time programming, embedded applications, etc.
C# is a crucial language for Windows/.NET programming. Don’t forget that Windows is still the most popular desktop platform in the world, and a veritable enterprise standard.
PHP powers most of the world’s websites. For web development, this language cannot be ignored.
Scala is a major Java alternative and widely used for cloud computing, machine learning, pretty much all the same domains as for Java.
Clojure is the most important Lisp variant to come in years. It is a much loved language.
Pharo is the most important Smalltalk variant to come in years. It’s all the more important because Smalltalk is provably the most productive programming language of note in the world. What would you give to write your software in half the time (on average) it takes in other languages?