What is The Difference Between XOTcl And Occam, Programming Languages
XOTcl is an Object-Oriented Programming Language, while Occam 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 XOTcl is an Object-Oriented Programming Language, and Occam is a Procedural Programming Language
Let us now look at the difference between the two:
What is XOTcl Programming Language – A brief synopsis
It is an object-oriented extension of the Tool Command Language that supports metaclasses and dynamic classes and methods.
What is Occam Programming Language – A brief synopsis
It is an imperative procedural language that was developed by David May and his colleagues at INMOS. It is similar to Pascal. Occam-pi is a variant of Occam that has been extended to include nested protocols, recursion, protocol inheritance, array constructors and run-time process creation.
Sources
A Complete List of Computer Programming Languages
Other Posts