What is The Difference Between Occam And XHTML, Programming Languages

Occam is a Procedural Programming Language, while XHTML is a Logic-based Programming Language

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.

What are Logic-based Programming Languages

Logic programming is a type of programming paradigm which is largely based on formal logic. Any program written in a logic programming language is a set of sentences in logical form, expressing facts and rules about some problem domain. (Wikipedia)

While Occam is a Procedural Programming Language, and XHTML is a Logic-based Programming Language

Let us now look at the difference between the two:

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.

What is XHTML Programming Language – A brief synopsis

It is a markup language that is similar to HTML and follows the XML syntax. It is midway between HTML and XML. XHTML documents allow automated processing of data.

Sources

A Complete List of Computer Programming Languages

Other Posts

Menu