Topic: Syntax And Metaprogramming

Using Lambdas and Callables for Deferred Evaluation, Control Flow, and New Language Patterns

Something which confused me early on as I learned Ruby was when to write a block vs. lambda. Here are my detailed thoughts around the distinctions and the possibilities.

Keep reading…



If Ruby Had Imports…

Sometimes it’s bonkers how much you have to import in other languages in every file before you get to the actual code. Thankfully Ruby provides a better way.

Keep reading…



Where Do Ruby Blocks Come From?

Let me set the mood, because it’s time to get reflective. Here’s your primer on block bindings, local variables, receivers, and more.

Keep reading…

Skip to content