3 ms·
Paradigms are not a characteristic of programming languages, they are a characteristic of programs. Now, obviously, programming languages encourage and afford
by jerf 3y ago
Paradigms are not a characteristic of programming languages, they are a characteristic of programs.
Now, obviously, programming languages encourage and afford the use of certain paradigms. But that's all they do. A program is not object oriented because it's written in C++. It is object oriented because it is written in terms of objects, regardless of what the underlying language may support or encourage.
Assembly, being the base language of the CPU, can be written in any paradigm any other language might permit, since all other programming language paradigms are obtained as limitations on the underlying assembler that may be generated. You can always just apply those limitations manually to get an object oriented program, or a logic programming program, or a functional programming. It just might be very costly and difficult.