5d ago · 7 min read · While upgrading RuboCop in one project, I noticed three new style cops in v1.85.0. I took a close look at them and my recommendation is to enable them all. Let's start. The 3 Cops The cops are: Style
Join discussion
Mar 14 · 2 min read · Ruby's readable syntax is only half of it — the real power is in the standard library. Here are the patterns I use every day. Blocks, Procs, and Lambdas — the difference that matters # Proc.new — return exits the ENCLOSING method def test_proc p = ...
Join discussion