Carmack about static analysis

Walter Bright newshound2 at digitalmars.com
Sat Dec 24 09:30:27 PST 2011


On 12/24/2011 6:35 AM, Adam D. Ruppe wrote:
> On Saturday, 24 December 2011 at 12:42:41 UTC, bearophile wrote:
>>> Printf format string errors were the second biggest issue in
>> A problem that people didn't want to reduce in D.
>
> printf and writef are entirely different beasts.

D's charter is not to fix bad usage of C functions like printf and memcpy. Use 
the corresponding D features like writef and array copy, and you won't need 
static analysis on them.


More information about the Digitalmars-d mailing list