From: "duerst (Martin Dürst)" Date: 2012-04-10T09:49:03+09:00 Subject: [ruby-core:44241] [ruby-trunk - Feature #6265] Remove 'useless' 'concatenation' syntax Issue #6265 has been updated by duerst (Martin D��rst). ko1 (Koichi Sasada) wrote: > I prefer current behavior because it is same as C and it is easy to > remember. It is more important in C because it can help with macros (#define). Fortunately, we don't have macros in Ruby, so it's less important in Ruby. > Why you remove it? I think the proposed reasons before don't make sense > for me. I agree that there's no urgent need to remove it. ---------------------------------------- Feature #6265: Remove 'useless' 'concatenation' syntax https://bugs.ruby-lang.org/issues/6265#change-25767 Author: rosenfeld (Rodrigo Rosenfeld Rosas) Status: Assigned Priority: Normal Assignee: mame (Yusuke Endoh) Category: Target version: 3.0 What is wrong with this code: some_method 'argument1', 'argument2' 'argument3' Yes, the missing colon, but it is not always easy to notice that... What is this ('concatenation' 'syntax') useful for? Why writing ('some ' 'concatenation') instead of 'some concatenation'? A missing colon between string arguments can lead to some bugs that may be hard to find, specially if the arguments are optional. And I can't see any useful case where this allowed syntax for concatenation would help. -- http://bugs.ruby-lang.org/