Functional programming is superior because it leads to more correct programs. Classes of bugs become impossible. With dependent typing, you can prove even more about your programs and mathematically guarantee they're behaving to spec.
Instead, we as an industry choose JavaScript and endless runtime errors, because we don't care about the occasional blowups. We want to move fast, break things, and not have to learn maths.
Note the current state makes business sense: quick and cheap and who cares whether it works well, we'll throw it away soon anyway.
Instead, we as an industry choose JavaScript and endless runtime errors, because we don't care about the occasional blowups. We want to move fast, break things, and not have to learn maths.
Note the current state makes business sense: quick and cheap and who cares whether it works well, we'll throw it away soon anyway.