Skip to main content

Programming Languages

Ruby's DATA Stream
·285 words·2 mins
Programming Languages

The STDIN and ARGF streams are commonly used in Ruby, however there’s also the less popular DATA one. This is how it works and some examples in the wild.

Numbered Parameters in Ruby 2.7
·654 words·4 mins
Programming Languages

A new feature called “numbered parameters” will see the light of day in the Ruby 2.7 release at the end of the year. What caught my attention was not the feature itself but the mixed reception it got from the community.