
It is useful, however, to know about the basic principles so you can use them to your advantage when appropriate. This doesn’t mean that you should say goodbye to object-oriented programming and go completely functional instead. In contrast, object-oriented programming is about having a relatively fixed set of functions, and you’re primarily modifying or adding new variables.īecause of its nature, functional programming is great for in-demand tasks such as data analysis and machine learning. In simple terms, functional programming is all about building functions for immutable variables.

Newer languages like Haskell are going completely functional. Not only are languages like Java or Python adopting more and more concepts from functional programming. Although game-changers like Google rely on its key concepts, the average programmer of today knows little to nothing about it. Photo by Brooke Cagle on Unsplashįunctional programming has been around for the last 60 years, but so far it’s always been a niche phenomenon. Functional code is up-and-coming at the moment.
