Language features, syntax, and gotchas.
Category: Language
Episode #466: Ancestral Behavior
What to do when a Ruby module has overridden a needed method?
Tear-off methods in Ruby
A companion post to episode #461, demonstrating the Ruby equivalent of Dart's "tear-off" methods.
Episode #461: Compendious Thunks: Intro
Kicking off 2017 with a very special guest series on Design Patterns!
Simplify service requests with fibers
How do you get multithreaded code right? The first step is to see if you can avoid using threads at all! The other day I was adapting an email course …
Understanding Ruby Thread-Local Variables
Global settings can cause havoc when threads are introduced. Learn when and how to use Ruby's thread-local variables instead.
Episode #455: Ensure
There's more to Ruby's `ensure` keyword than just exception handling.