Discuss why it is important to use meaningful names for identifiers.

What will be an ideal response?


Creating a data item named someData or a module named firstModule() makes a program cryptic. Not only will others find it hard to read your programs, but you will forget the purpose of these identifiers even within your own programs. All programmers occasionally use short, non-descriptive names such as x or temp in a quick program; however, in most cases, data and module names should be meaningful. Programmers refer to programs that contain meaningful names as self-documenting. This means that even without further documentation, the program code explains itself to readers.

Computer Science & Information Technology

You might also like to view...

_________ noise, or spike, is a transient sharp noise with very short duration time and random amplitude.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Symbols can have one of five behavior types.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Sorting in a report can be done on only one field

Indicate whether the statement is true or false

Computer Science & Information Technology

Explain the classic client/server model, and why it worked so well.

What will be an ideal response?

Computer Science & Information Technology