OO Programming  «Prev 

Naming conventions and the traditional approach to programming

C Programming Language

Dennis Ritchie of Bell Labs created C in 1972 as he and Ken Thompson worked on designing the Unix operating system. C did not spring full-grown from Ritchie's head, however. The important point is that C was created as a tool for working programmers, so its chief goal is to be a useful language.
Most languages aim to be useful, but they often have other concerns. The main goal for Pascal, for instance, was to provide a sound basis for teaching good programming principles. BASIC, on the other hand, was developed to resemble English so that it could be learned easily by students unfamiliar with computers. These are important goals, but they are not always compatible with pragmatic, workaday usefulness. C's development as a language designed for programmers, however, has made it one of the modern-day languages of choice.

Naming conventions

In this course, function and method names that are inline with the text are identified by putting empty parentheses after them.

Internal capitals

You will also note that this course adopts the common convention of using internal capitals, such as
, in method and variable names. This convention is not written in stone, but it does make code easier to read and identifiers in the text more obvious.