String Interpolation Compare - DIP1027 and YAIDIP
Imperatorn
johan_forsberg_86 at hotmail.com
Sat Oct 21 09:00:54 UTC 2023
On Saturday, 21 October 2023 at 08:40:11 UTC, Alexandru Ermicioi
wrote:
> On Saturday, 21 October 2023 at 01:50:33 UTC, Walter Bright
> wrote:
>> # DIP1027
>> ...
>> # Cons
>> 1. Is more susceptible to inadvertent matching with the wrong
>> function, because the tuples generated are tuples of strings,
>> integers, and other ordinary types.
>
> 2. Requires parsing of format string (always).
>
> Really, except already present *f functions, if you'd like to
> have your own function accepting interpolated strings, DIP 1027
> version would take a lot more time and brain power to write
> compared to YAIDIP.
Is there currently an implementation of 1027 that we can try?
More information about the Digitalmars-d
mailing list