I l@ve RuBoard Previous Section Next Section

30.3 Declarations

  • Put variable declarations one per line and comment them.

  • Make variable names long enough to be easily understood, but not so long that they are difficult to type in. (Two or three words is usually enough.)

  • Never use default return declarations. If a function returns an integer, declare it as type int.

    I l@ve RuBoard Previous Section Next Section