Next: , Previous: Structure Usage, Up: Structures

5.22.3 Structure Naming Convention

The field names that come to (my) mind are often quite generic, and, if used, would cause frequent name clashes. E.g., many structures probably contain a counter field. The structure names that come to (my) mind are often also the logical choice for the names of words that create such a structure.

Therefore, I have adopted the following naming conventions:

This naming convention does not work that well for fields of extended structures; e.g., the integer list structure has a field intlist-int, but has list-next, not intlist-next.