From: Jim Freeze Date: 2008-10-02T03:15:33+09:00 Subject: [ruby-core:19078] Re: Request For Removal: No Operator Concatenation On Wed, Oct 1, 2008 at 1:08 PM, Gregory Brown wrote: > On Wed, Oct 1, 2008 at 1:58 PM, James Gray 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 think one reason it was originally implemented is because the '+' operator could potentially be overridden and there needed to be a way to concat strings. So, when you see x = "foo" + "bar" do you think of the '+' as a given for a string concatenation operator or as: x = "foo".+("bar") where, someone could have changed String#+. -- Jim Freeze