F# - Functional Programming Introduction


Various programming paradigms do exist out there. The two most widely known are Object Oriented Programming and Functional Programming.

Object Oriented Programming is and has been the most popular since the 1970s.

However, in the last two decades or so, Functional Programming having been generating waves and rising very fast.

In fact Object Oriented Programming Languages like Java, C# and Python have borrowed a wealth of features from Functional Programming Languages.

What most people don't know is that Object Oriented Programming paradigm is a like a child when compared to Functional Programming in terms of age.

In fact the oldest of the major programming paradigms(Object Oriented,Functional and Procedural) is Functional Programming(FP).

The very first well known functional programming language was the IPL, invented way back in 1955, even before Fortran(Procedural) which came one year later.

Functional Programming involves viewing programs as a collection of functions that accept arguments and return values.These functions are akin to mathematical functions and do not concern about the state of the program.

Instead of altering variables, newer values are returned so the variables never change.Functions make copy values and then change the copies while the original values remained ummutatated.

For iteration, recursion is used instead of loops.

How do You Feel after reading this?

According to scientists, we humans have 8 primary innate emotions: joy, acceptance, fear, surprise, sadness, disgust, anger, and anticipation. Feel free to tell us how you feel about this article using these emotes or via the comment section. This feedback helps us gauge our progress.

Help me Grow.

I set myself some growth ambitions I desire to achieve by this year's end regarding this website and my youtube channel. Am halfway. Help me reach them by:




Recommendations


What do You Think

Dear readers drop us your comments below. We are building a community of students and learners. Start by dropping us your suggestions below. What tutorials do you want us to do for example? Where can we improve? What are some awesome resources out there? Do you have any code you want to share with us?
By the way that example or snippet you have lying in your computer can really help beginner programmers. We can share it here with other students.

Next Post