Forum Post: RE: Best (or even common) practice on dev across multiple versions: branch vs...

  • Thread starter Thread starter Thomas Mercer-Hursh
  • Start date Start date
Status
Not open for further replies.
T

Thomas Mercer-Hursh

Guest
One of the virtues of branching is that it is more painful ... which means that when one gets to a point that one no longer has to support the earlier version, one can abandon it and thereby cleanse the code base of the old stuff. The problem with conditional compilation is that it tends to live on forever garbaging up the code and no one ever cleans it up. Which said, a lot depends on context. If, like Mike, one is providing a code base which might get used across a lot of versions, then having a single code base has some virtue whenever the differences are minor since one can always acquire a new client with an older version. But, if one is creating a product for one's customer base and one is in a position to keep them current on releases, then branching and abandonment seems indicated.

Continue reading...
 
Status
Not open for further replies.
Back
Top