PROLOG

 

·         Readability-

 

Prolog is a simple programming language with three main parts, which made the language more readable and understandable. Prolog has atoms, numbers, and variables as datatypes, which increased the readability of the programming language. Prolog follows syntax with head and body, which clearly differentiate both parts, which increased the readability of the language.

 

 

 

·         Writability-

 

Prolog doesn’t support for abstraction, which decreased the writability of the language. Also, which result in not being able to re-use code. Furthermore, Prolog supports expressivity in terms of query, which increased the writability of the language. By considering all these it can be said that Prolog is a writable language to some extent.

 

·         Reliability-

 

Prolog doesn’t support aliasing and exception handling. Even though the language doesn’t support exception handling it doesn’t prompt incorrect output, but it will show some errors. Furthermore, Prolog supports type checking and it uses predictes foe the type checking. Also, Prolog uses atom/1, integer/1 and float/1 prdicates for its type checking. By analysing all these it can be proven that reliability of Prolog is at a improved standard.

 

Comments