Preventing bugs in Ruby: tools of the trade
Intro Bugs are an inevitable part of complex software and aiming for complete bug-free perfection is not only unrealistic, but it hinders progress and product delivery. David Heinemeier Hansson...
Intro Bugs are an inevitable part of complex software and aiming for complete bug-free perfection is not only unrealistic, but it hinders progress and product delivery. David Heinemeier Hansson...
I used statically typed languages and liked the extra safety but I also really like Ruby for how elegant it is and the freedom it gives me. Will I regret adopting types? Will gradual typing be s...
I have also published a followup to this experiment: Should I add typing to my Ruby project? TL:DR; To get a better understanding of the value of gradual typing in Ruby projects I picked a small ...
Psst, listen here: this post is really about leaky abstractions and programmer mental models but I’m hiding it very cunningly. Don’t tell anyone. Rails 7.1. added async variants of many convenienc...
UPDATE Jun 10, 2024: Modify the article to account for Ruby 3.3 adding default location for eval’d methods. “Wait, where the hell is this method coming from??”” One of Ruby’s strengths is how h...
Let’s say you wish to conditionally define a local variable in Ruby. Why would you need that? That’s beside the point, it’s mostly a thought excercise that’s an excuse to learn about a specific cor...
Preface: I wrote this post for the Silverfin engineering blog and replicated it here on my personal blog with permission. “90% what?” “I said this table is at 90%.” “Of what?” “Of int values for i...