Chapter 13. Version Control

Change has been coming in a steady stream to our family of linear-regression tools, and for the most part, we’ve been able to accommodate the changes in a compatible fashion. When we had new features and implementations to deal with, most of the change involved adding modules, moving files between targets, and making only minor alterations to existing code.

The changes to come, however, are more extensive, and if you’re like most programmers, you are conservative of the code you’ve written. An old method may no longer be required, but it may embody an understanding of the underlying problem. One solution might be simply to keep all the obsolete code in your active source files, possibly guarded by #if 0 blocks, but this ...

Get Step into Xcode Mac OS X Development 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.