discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep Coding Standard Additions


From: Benhur Stein
Subject: Re: GNUstep Coding Standard Additions
Date: Sun, 24 Apr 2005 11:26:17 -0300



On 24/04/05, Sheldon Gill <address@hidden> wrote:
Are there other coding standard issues which should be addressed?

Two suggestions:

1. Remove the (dangerous) use of

  if ([obj boolMethod] == YES)

replacing it by

  if ([obj boolMethod])

2. All method calls made through an
IMP ahould have a comment showing the objc
syntax of that method call.
That would improve the readability of the code and
maybe refrain some early optimisations.

Benhur

reply via email to

[Prev in Thread] Current Thread [Next in Thread]