On Wed, Oct 1, 2008 at 1:58 PM, James Gray <james / grayproductions.net> wrote:
> I'm disappointed that Ruby still supports this goofy syntax:
>
>  $ ruby_dev -ve 'p "a" "bc"'
>  ruby 1.9.0 (2008-09-27 revision 0) [i386-darwin9.5.0]
>  "abc"
>
> I'm not sure I've ever seen this used on purpose, but I know I've seen it
> several times as a bug now (usually missing a comma between them).  Ruby
> makes these bugs harder to find just to give us a concatenation syntax no
> one seems to use.
>
> I vote we use 1.9 as a good excuse to remove this dubious feature.

I support this, as this request came as a result of me saying:

a = ''''''''

surprised me when I found out it was empty.  James reminded me about
string bumping in the form of:

'a''b'

and I understood what what happening.

However, I can't see any benefit of this feature when we have several
explicit ways to do this that look more natural.
I doubt most people using Ruby even know this feature exists, except
for at the tail end of a long debugging session :-/

-greg




-- 
Technical Blaag at: http://blog.majesticseacreature.com | Non-tech
stuff at: http://metametta.blogspot.com