Home » Functional Programming

Tag Archives: Functional Programming

Python Map Example

In this tutorial, by using python 3.4, we’ll talk about map functions. Strictly speaking, a map function, is a function that accepts a function and an array as arguments, and applies the given function to each element of the array, returning another array with the result of each transformation. So, in other words, a map applies a transformation to each ...

Read More »

Javascript Callback Function Example

By now you are all aware that functions in Javascript are first-class objects, which means that they behave like any other object: they can be stored in variables, be passed as arguments, or be returned from other functions. Because of this peculiar quality of theirs, they can be passed as arguments to other functions, which is the essence of callback ...

Read More »