Considering multiple lines of say SQL query strings:$sql = select * from table .where a=5;What do you think are the benefits and downsides of putting the concatenation character at the end or beginning of the line?This is to revise a coding guidelines document, we have 2 people here that feel it should be either way
WHat are the benefits of placing the concatenation character at the end or beginning of a line
php
Just from scanning I would say that a dot at the beginning of a line give a more clear sight while scanning the left ruler of a block of text since the left side is fixed and the right side not. On the right side your eyes have more trouble finding the dots.Let a friend take a stopwatch....Shout Start!:add_settings_section(  Config::GetPluginSlug() .    Config::GetModuleMenuSlug($this->_module_id) . '_menu_section_main',  Config::GetModuleSectionHeaderTitle($this->_module_id),  array($this,'SectionHeader'),  Config::GetPluginSlug() .    Config::GetModuleMenuSlug($this->_module_id) . '_page');Shout Stop! (...write down how many dots you saw...)Shout Start!add_settings_section(  Config::GetPluginSlug()  . Config::GetModuleMenuSlug($this->_module_id) . '_menu_section_main',  Config::GetModuleSectionHeaderTitle($this->_module_id),  array($this,'SectionHeader'),  Config::GetPluginSlug()  . Config::GetModuleMenuSlug($this->_module_id) . '_page');Shout Stop! (...write down how many dots you saw...)Now you have the scientifically tested answer :) (well not really... let a test group do the same test on the pieces of text reversed since you were already trained by reading the first part before the second).