Programming Language for Games, part 3

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Nov 2 14:02:11 PST 2014


On 11/2/14 2:11 AM, Paolo Invernizzi wrote:
> On Sunday, 2 November 2014 at 01:28:15 UTC, H. S. Teoh via Digitalmars-d
> wrote:
>>
>> 1) Compile-time verification of format arguments -- passing the wrong
>> number of arguments or arguments of mismatching type will force
>> compilation failure. Currently, it will compile successfully but fail at
>> runtime.
>
> +1000! That would be awesome!
>
> It would be a _great_ boost in productivity during the debugging phase,
> or when we are under pressure and can't do a great job in code coverage.

Compile-time checking of format strings is nice to have, but I hardly 
see it as a major productivity boost. Maybe the better effect would be 
it serving as an example for other libraries to follow. -- Andrei



More information about the Digitalmars-d mailing list