Use specific names

In general, make names specific rather than generic. For example, the type for Taligent's graphics coordinates was once called Number; out of context, this is very hard to figure out and likely to accidentally conflict with identifiers from other header files. The new type, GCoordinate, is far more descriptive. Use generic names only when there is true generality, such as TSetOf.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker