20.2 EXTERNAL CHARACTERISTICS

It is believed that programming is for problem solving. Naturally, lot of thinking and planning goes into the program code. Well, we can say that is related to internal characteristics of a program. However, the code has to be written using syntax of C++, which is a higher level language. It has English-like appearance. The characteristics associated with this aspect of the program can be termed as external characteristics. Some of the important external characteristics are as follows.

  1. Formatting the source code.
  2. Selection of appropriate variable names.
  3. Liberal use of comments.

20.2.1 Formatting the source code

The programming language C++ has not put any restrictions on writing the text of the program (source ...

Get Object Oriented Programming with C++, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.