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

Dukc ajieskola at gmail.com
Sat May 26 11:18:22 UTC 2018


On Saturday, 26 May 2018 at 11:04:44 UTC, Nick Treleaven wrote:
>
> I don't think it makes sense to allow adding two characters - 
> the second operand should be an integer type.

So it would behave like pointer arithmetic. Sounds sound. Not for 
D because of the C semantic similarity requirement but for some 
other aspiring language.




More information about the Digitalmars-d mailing list