From: "David A. Black" Date: 2005-08-05T09:28:15+09:00 Subject: Re: new block notation (was: Re: ruby-dev summary 26468-26661) Hi -- On Fri, 5 Aug 2005, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: new block notation (was: Re: ruby-dev summary 26468-26661)" > on Fri, 5 Aug 2005 07:55:54 +0900, Eric Mahurin writes: > > |So before, the experiment was this (no default args and > |ambiguities with Hash): > | > |f = { |a| ... } > | > |and now you are thinking about this: > | > |f = ->(a) { ... } > | > |To me, this suffers readability because there are too many > |symbols in a row: =->( Wasn't this kind of thing the primary > |problem with perl - too many punctuation characters made it > |difficult to read. > > I don't agree. Punctuation symbol nor sequence of them itself is not > a problem. The problems can be caused by context dependent > interpretation of symbols, I think. But if you had a language (and I imagine there is one somewhere :-) that used unique strings of punctuation for all its keywords, it would look pretty bad. Obviously that's not an issue here, but it does suggest that there can be such a thing as too much punctuation, even if it's unambiguous. David -- David A. Black dblack@wobblini.net