Yonggang Luo Wrote: > I means to support for this, because of this, then we can hidden something > that we don't want to see. > > When you just want to see that API, and not the detail implement. > And also it can reduce the redundant thinking about what does this module > meaning and that module meaning. Because we just see the API. > > This is useful if you don't like to show all the things to the user.
dmd supports automatic generation of .di files which are similar to C .h files. Or you can write .di files manually. Or you can write separate core/rt.d with just declarations and another core/rt.d with implementation.
