DEV Community

Discussion on: Why isn't Functional Programming the Norm?

Collapse
 
allanmacgregor profile image
Allan MacGregor 🇨🇦

Elaborate, how would you define it? and is there a definition where you would say that is indeed the norm or at least more common than typically perceived?

Collapse
 
stereobooster profile image
stereobooster • Edited

I would define it as strictly based on lambda calculus e.g. referential transparency, immutability and no side effects (to do io you would be forced to use monads). There are not a lot of languages according to this definition. There are a lot of functional-ish languages. But not everybody would agree with this definition, that is why I'm asking