Changes between Version 6 and Version 7 of Coding Style Guidelines
- Timestamp:
- Nov 7, 2006 7:36:48 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Coding Style Guidelines
v6 v7 118 118 * True and false values of type `bool` (common in C and C++), or generic true/false values, should be written as `true` and `false`. Values of the Objective-C `BOOL` type should be written as `YES` and `NO`. 119 119 120 * Tests for null pointers, false values and 0 values should all be done directly, not through a n inqueality or equalitycomparison.120 * Tests for null pointers, false values and 0 values should all be done directly, not through a comparison. 121 121 122 122 '''Right:'''