News for hackers. Stuff that matters.
Re:55 GiB/s FizzBuzz (2021) by jerf on Monday July 03, 2023 @10:00AM (#36572975)
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.

There are no comments on this comment yet.