Get the latest tech news
The evolution of Ruby's Range class
Understanding the core class design and usage via its evolution
On July 24, Russian ballistic missiles hit my home city, Kharkiv, destroying the office and cars of a humanitarian demining fund. The “infinite range” might seem just a curiosity, but it might be useful for consistency when produced dynamically (when some code conditionally decides whether some value should be limited from the top and from the bottom) or as a “catch-all” default pattern in some DSLs. I hope I was able to share that feeling of a language being a living, breathing being, making its decisions and missteps, clarifying its behaviors, bearing the weight of legacies and habits, and still moving forward.
Or read this on Hacker News