Quote: except for low-level types or math entities, avoid global data, global functions, public data, friends, direct access, type fields, inline functions, void*, pointer arithmetic, C arrays, and casts
Topic: information hiding
Topic: restricted use of global variables
Quotation Skeleton
When you define a class that does not … [a] Don't use global data. [b] Don't use … [c] Don't use public data members. [d] Don't use friends, except … [a] … [b] … [c] … [e] … [f] Don't put a "type field" in a class; use virtual … [g] … [p. 11] Try to avoid 'void*', pointer arithmetic, C …
Google-1Google-2
Copyright clearance needed for quotation.
Related Topics
Topic: information hiding (50 items)
Topic: restricted use of global variables (22 items)