Pat Shaughnessy’s “Using a Ruby Class to Write Functional Code” gives an example of bringing functional programming principles into object-oriented design. I like it. It Pat’s example, he turns a group of pure functions into a class whose state is immutable-ish (they t...