tooling quality and some random rant

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Feb 13 09:36:22 PST 2011


On 2/13/11, Alan Smithee <email at example.com> wrote:
>> You can do the same in D using .di files.
>
> Except no one really does that because such an approach is insanely
> error prone. E.g. with classes, you need to copy entire definitions.
> Change any ordering, forget a field, change a type, and you're having
> undefined behavior.
>

Could you elaborate on that? Aren't .di files supposed to be
auto-generated by the compiler, and not hand-written?


More information about the Digitalmars-d mailing list