3 ms·
This is ironic given just how much of this syntax Ruby has lifted straight from Perl. Including $1 etc. for regexp captures, and a litany of other "$" variable
by vidarh 3y ago
This is ironic given just how much of this syntax Ruby has lifted straight from Perl.
Including $1 etc. for regexp captures, and a litany of other "$" variables.
If anything, those parts of Ruby's design tend to be among the aspects most often maligned, and we have to excuse it with "Perl did it, blame Perl".
Ruby is in many way the unholy offspring of Perl and Smalltalk. And I mean that mostly in a good way, but it also gave us warts.