Changes between Version 6 and Version 7 of Coding Style Guidelines


Ignore:
Timestamp:
Nov 7, 2006 7:36:48 PM (14 years ago)
Author:
Adam Roben
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Coding Style Guidelines

    v6 v7  
    118118 * 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`.
    119119
    120  * Tests for null pointers, false values and 0 values should all be done directly, not through an inqueality or equality comparison.
     120 * Tests for null pointers, false values and 0 values should all be done directly, not through a comparison.
    121121
    122122 '''Right:'''