← Back to Upcase

Lazy Classes that act like Lambdas - or - Code as Data!


(rubylove.io) #1

Have you ever wondered what it would look like if you could pass a class around, and then execute it like a lambda? This is the style I have been working in lately. It is fully thread-safe as it has no state, and is mostly functional.

I would like to hear your thoughts!