How to break module into multiple file.

Andrew Wiley wiley.andrew.j at gmail.com
Mon May 23 07:46:36 PDT 2011


On Mon, May 23, 2011 at 4:39 AM, Matthew Ong <ongbp at yahoo.com> wrote:

> On 5/23/2011 3:58 PM, Timon Gehr wrote:
>
>> On 2011-05-23 00:09, Matthew Ong wrote:
>>
>
> Thanks everyone that gave some working model to a newbie from Java Space.
>
> I found the working file layout model from dwt2
> http://hg.dsource.org/projects/dwt2
>
> There is a dwt2\base\src
>
> Haha. That is exactly like what I am looking for.
>
> Yes. The person made one module to one d file.
> Super cool.


Yes, but DWT is also an almost direct port of a Java project (you'll also
find a port of quite a bit of the Java standard library in there), so you
really can't use it as an example to support any sort of D style. The
authors did what made sense in a library that wasn't designed for D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20110523/3114c12f/attachment.html>


More information about the Digitalmars-d-learn mailing list