Re: Dividing D Module between multiple files

2015-02-18 Thread rumbu via Digitalmars-d-learn
On Wednesday, 18 February 2015 at 07:34:13 UTC, Daniel Kozák wrote: On Wed, 18 Feb 2015 07:23:24 + Muahmmad Adel via Digitalmars-d-learn wrote: I have searched online and I found no way for dividing D Module between multiple files. You are not force to do so I do not see any trouble

Re: Dividing D Module between multiple files

2015-02-18 Thread Ali Çehreli via Digitalmars-d-learn
On 02/17/2015 11:23 PM, Muahmmad Adel wrote: > I have searched online and I found no way for dividing D Module > between multiple files. As always, documentation can be better. :) There is the relatively new "package module": http://dlang.org/module.html#package-module

Re: Dividing D Module between multiple files

2015-02-17 Thread Daniel Kozák via Digitalmars-d-learn
On Wed, 18 Feb 2015 07:23:24 + Muahmmad Adel via Digitalmars-d-learn wrote: > I have searched online and I found no way for dividing D Module > between multiple files. > > While other languages move to making classes distributed on > multiple files (like C#'s pa

Dividing D Module between multiple files

2015-02-17 Thread Muahmmad Adel via Digitalmars-d-learn
I have searched online and I found no way for dividing D Module between multiple files. While other languages move to making classes distributed on multiple files (like C#'s partial classes), D is moving in the opposite direction, and makes a bigger code unit in one file. Biding