What is The Difference Between Modula-2 And XML, Programming Languages
Modula-2 is a Procedural Programming Language, while XML 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 XML 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 XML Programming Language – A brief synopsis
The name stands for Extensible Markup Language. It is extensible because it allows the users to define their own XML elements. It supports the sharing of structured data over the Internet and the encoding and serializing of data. It originated as a subset of SGML. XPath is the XML Path Language that is used to select nodes from an XML document. It supports the computation of values. XQuery is used to query the collections of XML data. Extensible Stylesheet Language Transformations (XSLT) is an XML-based language that is used for the transformation of XML documents into human-readable formats. Apache Ant is a tool for the automation of software build processes. It uses XML to describe the build processes.
Sources
A Complete List of Computer Programming Languages
Other Posts