Morale of a story: ~ is the right choice for concat operator

Walter Bright newshound2 at digitalmars.com
Fri May 25 21:06:17 UTC 2018


On 5/25/2018 1:27 AM, Dukc wrote:
> So, ~ may be a bit confusing for newcomers, but there is a solid reason why it's 
> used instead of +, and it's because they have a fundamentally different meaning. 
> Good work, whoever chose that meaning!

This ambiguity bug with + has been causing well-known problems since Algol. A 
*really* long time. Yet it gets constantly welded into new languages.


More information about the Digitalmars-d mailing list