< Day Day Up > |
Pseudocode examples explain many of the guidelines in a concrete manner. I try to make the examples as generic as possible, as this is not a language guide. The code uses a combination of conventions from a number of languages. Class names use uppercase separation (e.g., ClassName ). Attributes, variables , and method names use lowercase with underscores (e.g., method_name( ) ), la the C++ Standard Template Library and Python. For classes for which you must access an object's attributes, I show assignment to and from the attributes, as if they were properties of Eiffel or C#. In other languages or with other conventions, you probably will use get and set methods . The following typographical conventions are used in this book:
|
< Day Day Up > |