That is a good programming language is supported with

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: RAMMING LANGUAGE In the previous section, we have seen that there are some high-level languages, which are very popular, and there are others, which could not become so popular in-spite of being very powerful. There might be many reasons for the success of a language, but one obvious reason is the characteristics of the language. Several characteristics believed to be important with respect to making a programming language good are briefly described below. 1. Simplicity. A good programming language must be simple and easy to learn and use. For example, BASIC is liked by many programmers only because of its simplicity. Thus, a good programming language should provide a programmer with a clear, simple, and unified set of concepts which can be easily grasped. It is also easy to develop and implement a compiler or an interpreter for a programming language that is simple. However, the power needed for the language should not be sacrificed for simplicity. The overall simplicity of a programming language strongly affects the readability of the programs written in that language, and programs that are easier to read and understand are also easier to maintain. 2. Naturalness. A good language should be natural for the application area it has been designed. That is, it should provide appropriate operators, data structures, control structures, and a natural syntax in order to facilitate the users to code their problem easily and efficiently. FORTRAN and COBOL are good examples of scientific and business languages respectively that posses high degree of naturalness. 3. Abstraction. Abstraction means the ability to define and then use complicated structures or operations in ways that allow many of the details to be ignored. The degree of abstraction allowed by a programming language directly affects its writability. For example, object-oriented languages support high degree of abstraction. Hence writing programs in object-oriented languages is much easier. Object-oriented languages also support reusability of program segmen...
View Full Document

This document was uploaded on 04/07/2014.

Ask a homework question - tutors are online