Discussion Thread: DIP 1036--Formatted String Tuple Literals--Community Review Round 1

12345swordy alexanderheistermann at gmail.com
Fri Sep 11 15:27:08 UTC 2020


On Friday, 11 September 2020 at 15:14:29 UTC, Paul Backus wrote:
> On Friday, 11 September 2020 at 14:56:10 UTC, 12345swordy wrote:
>> You request people who maintain c/c++ binding libraries to put 
>> into the extra effort of preventing users from accidentally 
>> call the wrong function when using string interpolate. That is 
>> just plan unreasonable.
>
> I request that library maintainers, *in general*, put in the 
> extra effort of preventing users from accidentally calling the 
> wrong function, *in general*, because it's a basic tenet of 
> good library design. The fact that it also helps with string 
> interpolation is just a nice bonus. :)


Do you think that the d language should allow opimplicit 
conversion if think that preventing calling the wrong function 
rest on the library and not the language?


More information about the Digitalmars-d mailing list