ADA
·
Readability-
Ada
consists of 331 pages of BNFs which is a higher value when compared to
ALGOL-60. Due to this, it was not possible to explore and learn the language in
a short period of time. Also, Ada allows users to declare their own types which
resulted in unnecessary complexity, which impacted the readability of the
program. Ada’s use of begin and end increases the readability and also solves
the dangling else problem. Furthermore, Ada used “if” and “end if” statements
in the start and end of the control structure which increased the readability.
·
Writability-
Ada
allows block structure/ procedures which eliminates the need of repeating
codes. Also, the factors affecting readability also affects writability as a
result, the writability of Algol is also acceptable. Furthermore, Ada uses “and
then” Boolean operator, which is an easy way of representation, which increases
the expressivity of the program.
·
Reliability-
Ada
provides type checking which allows the compiler to check for the defined types
and its range at its compile time which positively impact on its reliability.
Also, Ada provides exception handling which also contributes to non-error prone
programs. As a result, Ada can be considered as more reliable compared to other
languages.
Comments
Post a Comment