Decoupling methods, by reducing assumptions and minimizing interfaces.
What's a good way to open a conversion method to extension? Let's find out!
A tricky little functional programming puzzle, with an elegant solution.
Eliminating astonishment with a special Ruby idiom for object creation.
A naming guideline to avoid confusion and latent bugs.
Ruby 2.4 eliminates an un-intuitive limitation of if-statements.
Calculating dates in the past or future, without the assistance of ActiveSupport.
Today we learn how to match patterns and parse out values all at once.