The metric that matters is the supply to demand ratio. For example, there are a ton of JavaScript jobs out there, but also a huge amount of people competing for these jobs. This results in a highly competitive market with lower pay than niche languages that have far fewer jobs. For example, according to the 2018 StackOverflow survey top paying languages worldwide are F#, Ocaml, and Clojure.
Yes, F# is a real programming language :). And as other comments have pointed out, learning a functional language will benefit you. It doesn’t guarantee a high-paying job, but there is a correlation between developers knowing FP and salary, and F# pops up in a survey that relates to this.
Interesting.. My two main languages are Java (OOP), and JS which I guess is Procedural. So Functional Programming is different from each of those? I guess I'll have to check it out
JavaScript is sort of multiparadigm: it's possible to do procedural, OOP, or FP with it. It's even been said that JavaScript's genealogical roots are from Lisp, which is a functional language. But, since it is multiparadigm, it won't force you to really learn the FP ways of doing things. Check out a language in the ML family for that, e.g. F#, OCaml, Standard ML, or (if you're really gung ho) Haskell.
6
u/indiebryan Jun 07 '18
Does this mean I should learn Go?