recursion is fun! It feels more like magic.
Here's a nice functional programming exercise I did today: Given a function that increments an integer and a function that decrements it, create a function that returns the sum of two numbers, where either of the two numbers may be positive or negative.
Here's a nice functional programming exercise I did today: Given a function that increments an integer and a function that decrements it, create a function that returns the sum of two numbers, where either of the two numbers may be positive or negative.