enum Format

Walter Bright newshound2 at digitalmars.com
Fri Jan 12 05:28:07 UTC 2024


On 1/11/2024 11:50 AM, Timon Gehr wrote:
> On 1/11/24 03:21, Walter Bright wrote:
>> As for it being a required feature of string interpolation to do this 
>> processing at compile time, that's a nice feature, not a must have.
> 
> As far as I am concerned it is a must-have. For example, this is what prevents 
> the SQL injection attack, it's a safety guarantee.

Why does compile time make it a guarantee and runtime not?

We do array bounds checking at runtime.


More information about the Digitalmars-d mailing list