Functional Programming is a programming paradigm … that treats computation as the evaluation of mathematical functions and avoids changing-state and mutable data. It is a declarative programming paradigm, … programming is done with expressions or declarations instead of statements.
In functional code, the output value of a function depends only on the arguments that are passed to the function; calling a function f twice with the same value for an argument x produces the same result f(x) each time [because there is no mutable state]
Discover how to use Ruby's yield_self/then method to organize methods into neat pipelines of operations! Join guest chef Nithin Bekal for an educational and satisfying refactoring sequence.
A tricky little functional programming puzzle, with an elegant solution.
Applying an approach inspired by functional programming languages to the problem of safe navigation.
Today's episode covers a new Ruby 2.2 feature which is more useful than it may at first appear to be.
In this episode we'll discover a particularly insidious side effect of implicit global I/O dependencies.
In today's special guest episode, Tom Stuart shows us the benefits of using enumerators as immutable collections.
Today we take a brief sojourn out of Ruby and into the Elixir programming language. I'll show you one of my first programs in Elixir and point out how the …
Today's dish combines the great flavor of Ruby's 'case' statement with a little Proc seasoning and a threequals demiglace!
How is a Proc different from a Lambda? When do you use one over the other? And how to blocks fit into all this? Today's episode attemptes to answer these …