What is The Difference Between Modula-2 And SGML, Programming Languages
Modula-2 is a Procedural Programming Language, while SGML is a Markup 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 Markup Languages
A markup language is an artificial language that uses annotations to text that define how the text is to be displayed.
While Modula-2 is a Procedural Programming Language, and SGML is a Markup Language
Let us now look at the difference between the two:
What is Modula-2 Programming Language – A brief synopsis
It is a general-purpose procedural language created in 1978 by Niklaus Wirth at ETH. It is similar to Pascal and has systems programming and multiprogramming features.
What is SGML Programming Language – A brief synopsis
Standardized General Markup Language (SGML) has descended from IBM’s Generalized Markup Language. It is an ISO standard metalanguage that can define markup languages for documents. It was designed with the intent of sharing machine-readable documents of large projects that had to be retained for long years.
Sources
A Complete List of Computer Programming Languages
Other Posts