On 22/10/2019 20:53, Steve Jorgensen wrote:
See 
https://en.wikibooks.org/wiki/Ruby_Programming/Syntax/Literals#The_%_Notation 
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
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/LI6YD57LQIHVLHWOVUH6VR4HLB6LJAUM/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to