Map
Index
Random
Help
th

Quote: avoid global data; if code references global data, it is tied to all users of that data

topics > all references > references g-h > QuoteRef: huntA_2000 , p. 40



Topic:
restricted use of global variables
Topic:
object-oriented objects

Quotation Skeleton

Avoid global data. Every time your code references … In general, your code is easier to understand … is often passed as parameters to [p. 41] objects' constructors. In other code, you can create structures containing …   Google-1   Google-2

Copyright clearance needed for quotation.

Additional Titles

Quote: instead of global data, use objects to pass context; typically as parameters to the object's constructors

Related Topics up

Topic: restricted use of global variables (22 items)
Topic: object-oriented objects (36 items)

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