Map
Index
Random
Help
th

QuoteRef: kellD5_1990

topics > all references > ThesaHelp: references i-l



ThesaHelp:
references i-l
Topic:
descriptive naming
Topic:
naming conventions
Topic:
abbreviated input

Reference

Keller, D., "A guide to natural naming", SIGPLAN, 25, 5, May 1990, pp. 95-102. Google

Quotations
98 ;;Quote: use simple short names for types; e.g., Table, Error, State
98 ;;Quote: use a verb for a procedure; if it applies to a type, include the type, e.g., StoreWord, DisplayError
98 ;;Quote: for variables and functions, prefix their type name with an adjective; e.g., FirstState, NextState
98 ;;Quote: constants often define a limit; if so, use "Max" as a prefix
100 ;;Quote: use long names; if you can't read it out loud, it's a poor name
101 ;;Quote: abbreviate a name only if it saves more than three characters
101 ;;Quote: boolean names should state a predicate, e.g., 'if PrinterIsReady' and '..is..'


Related Topics up

ThesaHelp: references i-l (342 items)
Topic: descriptive naming (29 items)
Topic: naming conventions (8 items)
Topic: abbreviated input (10 items)

Collected BarberCB 6/90
Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.