What is The Difference Between Object-Z And Component Pascal, Programming Languages
Object-Z is an Object-Oriented Programming Language, while Component Pascal is a Procedural Programming Language
What are Object-Oriented Programming Languages
Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects”, which may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods. In OOP, computer programs are designed by making them out of objects that interact with one another. (Wikipedia)
What are Procedural Programming Languages
Procedural (imperative) programming implies specifying the steps that the programs should take to reach to an intended state. A procedure is a group of statements that can be referenced through a procedure call. Procedures help in the reuse of code. Procedural programming makes the programs structured and easily traceable for program flow.
While Object-Z is an Object-Oriented Programming Language, and Component Pascal is a Procedural Programming Language
Let us now look at the difference between the two:
What is Object-Z Programming Language – A brief synopsis
It was developed at the University of Queensland, Australia. It extends the Z programming language by adding object-oriented features to it.
What is Component Pascal Programming Language – A brief synopsis
It is a programming language that seems to be related to Pascal, but is actually incompatible with it. It is actually a variant of Oberon-2. Lagoona is an experimental programming language that supports component-oriented programming, a paradigm of decomposing a system into logical or functional components. Michael Franz, a student of Niklaus Wirth developed Lagoona. Seneca, better known as Oberon-2 is an extension of the Oberon programming language.
Sources
A Complete List of Computer Programming Languages
Other Posts