Re:I don’t like the Ruby 1.9 hash syntax
by cheald on Wednesday December 14, 2011 @03:01AM
(#3351062)
I don't think I like it either, but I'm pretty sure it's just because colons are already very commonly used in hashes as symbol delimiters.
{foo: :bar} just feels weird.
It's not a world-ending issue - certainly not enough to make an effective difference in practical usage - but it's enough of a visual collision that it rubs me the wrong way.
{foo: :bar} just feels weird.
It's not a world-ending issue - certainly not enough to make an effective difference in practical usage - but it's enough of a visual collision that it rubs me the wrong way.