How Effectively Agents Write D
Walter Bright
newshound2 at digitalmars.com
Sun Nov 8 08:58:43 UTC 2026
On 11/7/2026 7:36 PM, H. S. Teoh wrote:
> Another common problem is printf format errors (I work with C code at
> work so I probably see these more often than people who don't work
> directly with C, so YMMV). D isn't completely free of problems in this
> area, but it does at least have type-safe variadic functions, which
> mitigates a large percentage of these issues.
D now checks for correctness with format specifiers, so I think that issue is
resolved. I proposed that D go a little further and actually replace %s format
specifiers with the correct format for the corresponding argument, but nobody
wanted it.
But many features I added that nobody wanted turned out to be very desirable.
More information about the Digitalmars-d
mailing list