23 Oct
2019
23 Oct
'19
12:39 p.m.
On 22/10/2019 20:53, Steve Jorgensen wrote:
See https://en.wikibooks.org/wiki/Ruby_Programming/Syntax/Literals#The_%_Notatio... for what Ruby offers.
For me, the arrays are the most useful aspect.
%w{one two three} => ["one", "two", "three"]
This smells like Perl's quoting operators. I wasn't a big fan of them even when I was a Perlmonger. Given the choice of "glyph doing something" and "glyph doing something I understand", I'll take the latter every time. -- Rhodri James *-* Kynesim Ltd