On Friday, April 27, 2012 06:57:28 Steven Schveighoffer wrote: > You have my sympathy. Since working with D, I don't think I've *ever* > used the "declare then implement" model. My personal opinion is that the > compiler should require .di files for declaring stubbed methods.
That would be a problem because of documentation. You need to be able to include stubbed out functions for ddoc (Phobos generally does that with version(StdDdoc) when it needs to), otherwise platform-specific stuff doesn't end up in the documentation when you generate it on _other_ platforms. And I think that it would be unreasonable to require that that be done with .di files. - Jonathan M Davis