From: rr.rosas@... Date: 2014-07-31T12:15:45+00:00 Subject: [ruby-core:64139] [ruby-trunk - Feature #6265] Remove 'useless' 'concatenation' syntax Issue #6265 has been updated by Rodrigo Rosenfeld Rosas. I said "useless" in the sense that you can achieve the same using "+" and it makes it easy to introduce common bugs in case you forget a comma between two strings when calling a method and this has happened already in real code, including the Rails source code despite the test suite. ---------------------------------------- Feature #6265: Remove 'useless' 'concatenation' syntax https://bugs.ruby-lang.org/issues/6265#change-48147 * Author: Rodrigo Rosenfeld Rosas * Status: Assigned * Priority: Normal * Assignee: Yui NARUSE * Category: core * Target version: next minor ---------------------------------------- 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. -- https://bugs.ruby-lang.org/