Map
Index
Random
Help
th

Quote: boolean names should state a predicate, e.g., 'if PrinterIsReady' and '..is..'

topics > all references > references i-l > QuoteRef: kellD5_1990 , p. 101



Topic:
descriptive naming

Quotation Skeleton

Boolean variable and function names should state a … "is" in the name. Examples: PrinterIsReady, QueueIsEmpty … (note how naturally this reads: "IF PrinterIsReady THEN … )   Google-1   Google-2

Copyright clearance needed for quotation.


Related Topics up

Topic: descriptive naming (29 items)

Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.