On 2/13/11, Alan Smithee <em...@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?