How to break module into multiple file.

Nick Sabalausky a at a.a
Sat May 21 01:35:25 PDT 2011


"Matthew Ong" <ongbp at yahoo.com> wrote in message 
news:ir7qio$28mn$1 at digitalmars.com...
> On 5/20/2011 4:23 AM, Nick Sabalausky wrote:
>> "Matthew Ong"<ongbp at yahoo.com>  wrote in message
>> news:ir3801$84b$1 at digitalmars.com...
>>>
>>> As for the real reason it is for:
>>> That current D layout seem to limit that one file to a single developer.
>>> Instead of multiple classes by multiple developers within the same 
>>> module.
>>>
>>> Using the example:
>>> HashMap&  Unit tested implemented by matthew
>>> LinkedList&  Unit tested implemented by john
>>> but the same module is handled by Jonathan for other classes?
>>>
>>
>> That's what version control systems are for. As long as you're using a 
>> VCS
>> that isn't terrible (ie, as long as you're not using CVS or Visual
>> SourceSafe), than it's easy for multiple people to edit the same source
>> file.
> OK. I read somewhere else about this, I think there is same issue for 
> SubVersion?
> Someone suggested Hg.
>

Subversion handles multiple people editing the same file perfectly fine. But 
Hg probably is better than SVN, overall. I've been a happy SVN user for a 
long time, but even I'm starting to get won over by Hg. Of course, some 
people like Git better than Hg (and some people like Hg better than Git).




More information about the Digitalmars-d-learn mailing list