Differences Between Four Programming Languages Essay
This Research problem is aiming to compare and contrast four programming languages according to programming paradigms and the features with the purpose of determining the suitability and applicability of the languages for each criterion, distinguish them with their pros and cons, evaluate and explore the related features on those languages.
For this I have selected one language from each programming paradigm (imperative, object-oriented, functional, logic) and compared it with the Iterative statements feature. The comparing and contrasting is based on the following design characteristics:
• Readability, writeability, reliability
• Implementation (i.e., how the feature is compiled and executed)
• Evolution (how the feature has changed in the language over time)
Most often the computers are used to automate tasks repetitively. Computers are error free when it comes to repeating identical or similar tasks compared to people.
Repeated execution of a set of statements is called iteration or loop. The repeated execution of a statement or compound statement can be accomplished either by using loop or recursion. It can be controlled by using either Logical expression or counter. Here we are going to discuss how the iteration feature is used in programming languages like Python in imperative paradigm, Java in object-oriented paradigm, Prolog in logic paradigm, Scala in functional paradigm.