Monday, May 24, 2010

How do programmers who work separately on open-source projects join the pieces of code together?

I'm thinking in terms of a programmer in India working on part of a project and another in the US working on the same project, how do they piece or join the code they have worked with together? How do they ensure that they follow similar programming guidelines?

How do programmers who work separately on open-source projects join the pieces of code together?
they use an object-oriented approach. that is they work on parts that are independent of each other. they work on components assigned to them which when joined with all the other components from the other programmers completes their project
Reply:They use VSS(Visual Source Safe)
Reply:i don't think they're forced to use OOP. they just need to talk to each other. also, you definitely need a central server for source control management, i.e. CVS or Subversion. (Sourceforge.net offers free CVS hosting for open source projects).





of course there will be some misunderstandings in the beginning, but that will sort out soon enough. the developers have to talk about the interfaces between their "parts" of the code, and then both of them can work more or less independently from each other.
Reply:as colo stated, OO makes "distributed" projects easier, you can each take a "chunk" of functionality, and produce the code for it.. You then bring all the code together in one place, compile, and you have a completed application.





a lot of effort must go on with the communication between the developers though. In order to communicate between components, interfaces must be designed and so on.





Places like SourceForge provide an excellent collaboration platform and repository for these styles of projects.


No comments:

Post a Comment