Source Control

For team members to collaborate on code development, they must all be able to work on the codebase at the same time. This isn’t as easy as it would first appear—you must ensure that concurrent code modifications don’t interfere and that no work is lost on the way. There are some low-tech ways to collaborate on code:

  • The most basic is to share a single computer and take turns to edit code. Two programmers won’t fit in the same chair without a struggle, and so no code edits will conflict. However, you’ll suffer a massive productivity loss, since only one person can code at a time.

    You can put two chairs in front the machine and pair program for a potential productivity gain (see "IT’S ALL GOING PAIR SHAPED" on page 319). But this doesn’t ...

Get Code Craft now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.