Types of Programming Languages
Mainly there are five types of programming languages, they are:
1) Procedural Programming Language
2) Functional Programming Language
3) Object-oriented Programming Language
4) Scripting Programming Language
5) Logic programming Language
1) Procedural Programming Language
Procedural programming language is a language which follows a systematic approach consisting of statements, functions and commands to execute a computational task.
Some of the procedural programming languages are:
BASIC
C
FORTRAN
Java
Pascal
2) Functional Programming Language
Functional programming languages use the concept of reusability. This means each program consists of a set of functions that can be invoked to repeat a task until a condition is met.
Some of the functional programming languages are:
Common Lisp
Haskell
F#
Clojure
Elm
3) Object-oriented Programming Language
Object-oriented programming language or OOP relies on organizing and encapsulating data in terms of objects instead of depending on functions and logic. With concepts like inheritance and polymorphism, this language encourages reusability, thus lessening the complexity of the code.
Some of the object-oriented programming languages are:
Python
Java
C#
Ruby
PHP
4) Scripting Programming Language
Scripting programming languages are used to design, develop and enhance an application’s or operating system’s features. Mainly it is used to provide the functionality to the characteristics of a system. Scripting languages are interpreted quickly and can swiftly execute code.
Some of the scripting programming languages are:
JavaScript/ECMAScript
PHP
Python
Ruby
Perl
5) Logic programming Language
Logic programming languages are slightly different to the types we discussed above. They aim to convey restrictions to the system about statements the developer uses to consider the possible outcomes of other actions adeptly.
Some of the logic programming languages are:
Absys.
ALF (algebraic logic functional programming language).
ASP (Answer Set Programming)
Alice.
Alma-0.
June 18, 2024 | By Scarface