G
George Ogata
Trans said:Or better yet (though I know no one is going to agree) change hashes to
use square brackets too.
[ :a => 1, :b => 2 ]
Is this really so hard to differentiate from an array?
Very, when it's empty.
But, yeah, it's unfortunate that curlies are overloaded. I don't
really find the "visual backtracking" that David talked about a
problem. but it does seem icky that there's this "exception to the
rule" in that you can't create empty procs this way. I guess empty
procs aren't that common, though.