News for hackers. Stuff that matters.
Re:Why Structure and Interpretation of Computer Programs Mat... by astrange on Monday June 17, 2024 @12:52AM (#40702405)
OOP is imperative programming. It's just function calls where the first parameter is to the left of the function name, after all.

A better name for "non-OOP" programming is procedural programming, where you organize code in long blocks that go straight down, code duplication is accepted vs jumping all over the place, etc. Honestly underrated. It can be quite easy to understand.

Strictly-evaluated FP is also imperative. The only really different languages are the ones with different evaluation systems or that can do things besides evaluate - people like to say Haskell is the best here but I think it's actually unification languages like Mercury. Maybe even SQL with transactions.

There are no comments on this comment yet.