This is an old revision of the document!
Programming paradigms are a way to classify programming languages based on their features and characteristics. For example, is the language imperative or declarative in nature.
An import aspect of any programming language is to determine the programming paradigm(s) features needed to properly and meet the requirements of the language. The DIDO-CLI is no exception. In order to discuss the programming paradigm for DIDO-CLI, a brief overview of the kinds of (i.e., classification) of some of the most common paradigms is presented.
Some paradigms are place a lot of emphasis on the implications for the execution model of the language, such as allowing side effects, or whether the sequence of operations is defined by the execution model. Other paradigms are concerned mainly with the way that code is organized, such as grouping a code into units along with the state that is modified by the code. Yet others are concerned mainly with the style of syntax and grammar.
There are many kinds of Programming Paradigms3). Only those that are considered relevant to the DIDO-CLI are reviewed here.
The DIDO-CLI is expected to be a hybrid of these paradigms.
In keeping with Boundreau conclusion, “it would be obvious that they are all multi-paradigm”, the DIDO-CLI is best served using a hybrid programming paradigm approach. Where a Functional Paradigm makes sense, it should be used and followed. Afterall, two very successful CLIs, i.e., POSIX and Structured Query Language (SQL), have demonstrated quite a bit of success using a Functional approach. However, both of these languages also have embraced the Procedural Paradigm also:
In addition, Oracle RDBMS, PostgreSQL and MySQL have included support of Object Oriented Programming5)6)7).