www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16771] New: Depreciation of implicit string concatenation in


          Issue ID: 16771
           Summary: Depreciation of implicit string concatenation in 2.072
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: ricejm01 gmail.com

virtually every programming language based on the C syntax allows for implicit
string concatenation.   

Allowing this to be depreciated you are making the D language harder to use.

the rationale for the reasoning for why all of sudden we have to start using ~
to break up long strings so that the code is readable is quite frankly

Case in point.


string[] names =
// The content of arr is [ "Anna", "MichaelEmma", "David" ]


string aReallyLongString = "this is a really long string that will" 
                           "not look good on the page if it put on"
                           " a single line";

There is a huge difference between Array assignment and single string
assignment.  How about you revert the changes in 2.072 and re-implement to fix
the actual problem, which is solely with array assignment and look for '[' ']'
characters to not allow implicit string concatenation.  

At this point 2.072 is not usable, and I would appreciate not having to fix
~20,000 lines of code to add '~' everywhere.   Not to mention you just broke
almost every dub library I use as well.

Nov 24 2016