We are forking D

DrDread no at no.no
Mon Jan 8 14:09:09 UTC 2024


On Sunday, 7 January 2024 at 18:51:40 UTC, Walter Bright wrote:
> On 1/7/2024 1:22 AM, Paolo Invernizzi wrote:
>> [...]
>
> Of course!
>
>
>> [...]
>
> I asked the question if adding a template call constituted an 
> "undue" burden. What it does do is send a clear visual signal 
> that the default behavior of istring is being adjusted.
>
>> [...]
>
> Using DIP1036 for string interpolation means that for using it 
> for sql calls means:
>
> 1. if something other than core.interpolation is imported at 
> the global level, it will apply to all users of istring in that 
> module, not just the ones calling sql functions. It means 
> calling writeln with istrings won't do what is expected, and 
> this is not visually apparent by looking at the code, nor is it 
> checkable by the compiler.
>
> 2. an alternative would be locally importing core.interpolation 
> or arsd.sqlite as required for each scoped use of istrings.

and you _still_ misunderstand DIP 1036. which is the whole 
problem here. and we've told you repeatedly that you 
misunderstand it. please just go and look at the implementation.


More information about the Digitalmars-d mailing list