For Programmers: Free Programming Magazines  


Home > Archive > Ruby > August 2005 > Re: new block notation









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: new block notation
Daniel Amelang

2005-08-05, 5:05 pm

> > [=3D>]
>=20
> =3D> is a connector between a key and value. It doesn't make sense for
> it to appear if there are no keys and no values.


Except to say 'keys and values go here'. But it's one of those
personal taste things, you can't argue it.

That said, I'm not a big fan of it. Although I like the '[:]' syntax
for empty hashes in 1.9, but I got clobbered on ruby-core for
suggesting it a couple months back :)

Dan


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com