String Interpolation

Imperatorn johan_forsberg_86 at hotmail.com
Fri Oct 27 09:37:51 UTC 2023


On Friday, 27 October 2023 at 09:30:46 UTC, IGotD- wrote:
> On Thursday, 26 October 2023 at 10:40:34 UTC, Imperatorn wrote:
>>
> I've not been following the string interpolation debate because 
> I'm not a big user of string interpolation but this made me 
> wake up. Are you seriously proposing a design that cannot 
> convert a string interpolated string into a regular string?

Yes, neither proposal gives you a string by default. I am trying 
to argue that most users would find that unergonomic and 
unintuitive. Most languages I have checked give you a string by 
default since it follows the principle of least astonishment.


More information about the Digitalmars-d mailing list