BRAINDAMAGE VERSION

From codeTank

Jump to: navigation, search

Contents

Description

_BRAINDAMAGE_VERSION is a string that contains the current version of Brain Damage. The format of this string will always be in the format of either: "Brain Damage x.y" or "Brain Damage x.y.z", where x is the major version, y is the minor version (always one digit), and the optional z is the revision (always one digit, when present).

Version Numbering Philosophy

When the newest release consists of mostly bug fixes, then the revision will increase. If the revision is at 9, then the minor version will increase, and the revision set back to 0.

When the newest release consists of mostly new features, then the minor version will increase (resetting the revision back to 0). If the minor version is at 9, then the major version will increase, and the minor version will set back to 0 (along with the revision).

When the newest release consists of new design elements that will likely break old source code, then the major version will increase (resetting the minor version and revision back to 0).

The idea here is that revision is used for bugs, minor is used for new features, and major is used for design changes. Having a maximum of 9 in the revision and minor version is for two reasons: one, it's annoying to see two digits in those spots. And two, when there have been 10 changes, then the next higher level should increase anyways - because even though the changes have been slow over time, the fact is that there must have been an overall large change if the number has reached 9 in the first place.

Example

sh: highlight: command not found

You need to specify a language like this: <source lang="html">...</source>

Supported languages for syntax highlighting:

(error loading support language list)

See Also

Personal tools