Nathan Kleyn Author Archive

1 Comment

Functional Programming Techniques With Ruby: Part II

This entry is part 2 of 3 in the series Functional Programming Techniques with Ruby

In part one of this series, we looked looked at the basics of functional programming and visited in detail immutability and side-effect free code. Today, we’re going to look at higher-order functions and currying, two amazingly useful functional style features that Ruby…

Continue Reading…
8 Comments

Ruby Metaprogramming: Part I

If you’re working with Ruby, chances are by now you’ve heard the word “metaprogramming” thrown around quite a lot. You may have even used metaprogramming, but not fully understood the true power or usefulness of what it can do. By the end of this article, you should have a firm grasp not only of what it is, but also what it capable of, and how you can harness one of Ruby’s “killer features” in your projects.

Continue Reading…