String Interpolation Compare - DIP1027 and YAIDIP
Imperatorn
johan_forsberg_86 at hotmail.com
Sat Oct 21 07:51:33 UTC 2023
On Saturday, 21 October 2023 at 07:04:35 UTC, Richard (Rikki)
Andrew Cattermole wrote:
> On 21/10/2023 7:57 PM, Walter Bright wrote:
>> [...]
>
> This also means that one formatter doesn't have to know about
> another formatters format string syntax.
>
> Like how formattedWrite doesn't need to know about GDateTime.
>
> And yes, I have that working today with the ``{:}`` syntax in
> my codebase. Its great.
>
> This is why I do not agree with Adam about his argument against
> supporting the format string specifier as part of the language.
> Having it in the language means it is all nicely unified.
I kinda also agree with that, in C# I use it and it's pretty nice
indeed
More information about the Digitalmars-d
mailing list