Programming Languages (2026)
The Categories of Programming Languages
Hundreds of programming languages exist, but only a small number of them are widely used. However, important differences between languages make it necessary to group them into categories. These categories help us better understand how programming languages work and how they differ from one another. In this section, we introduce the two main ways of classifying programming languages into types.
1. Grouping by How Programming Languages Run
The first way to classify programming languages is by how they are executed by a computer. Some languages are compiled directly into machine code, while others are interpreted or run using a virtual machine. This execution method affects performance, portability, and how the language is used in practice.
The 7 Main Execution Types
- Machine Languages
- Assembly Languages
- Compiled Languages
- Interpreted Languages
- Virtual Machine Languages
- Scripting Languages
- Markup/Style Languages
2. Grouping by How the language is written and used
The second way to classify programming languages is by how they are written and structured by the programmer. This classification focuses on the programming style used to build a program, such as using procedures, objects, or functions. These styles influence how code is organized, how problems are solved, and how programs are maintained.
The 4 Main Programming Styles
- Procedural Programming
- Object-Oriented Programming (OOP)
- Functional Programming
- Logic/Declarative Programming
Conclusion
Understanding the different categories of programming languages helps us see how languages are executed and how programs are structured. By knowing whether a language is compiled, interpreted, or runs on a virtual machine, we can anticipate performance and portability. By understanding programming styles like procedural, object-oriented, functional, or declarative, we can predict how code is organized and maintained. Together, these classifications give us a clearer picture of the strengths, limitations, and practical uses of different programming languages.