Skip to content

1.1 Code Convention

Tomaz Martins edited this page Aug 2, 2015 · 3 revisions

1.1.1.1 Motivation

Code conventions are important to programmers for many reasons:

  • 80% of costs over the lifetime of software is spent on maintenance.
  • Hardly any software is maintained by a single person.
  • Code conventions allow greater readability of the software, making the understanding of the faster and better engineers. (HOMMEL, KING, et al.)

For the convention to work, everyone involved with the project must abide by the conventions proposals.

1.1.1.2 Observations

Much of the proposed convention for the project are derived, in part or in full, the conventions proposed by Sun Microsystems and the proposed convention on the DEITEL books.

2.1.1.3 Summary

File Organization

Identation

Comments

Statements

Instructions

White Spaces

Naming Convention