Practical C Programming, 3rd Edition

I l @ ve RuBoard

  • 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

Категории