Re:The Repeated Deaths of OOP (2015)
by bccdee on Sunday June 06, 2021 @09:12PM
(#27417949)
A method on a class is just syntactic sugar for a function with an argument. It takes more than just "the presence of methods" for something to be OOP.
[ Parent
| on HN ]
Isn't the grouping of methods with data a core fundamental principle of OOP? Even if it is syntactic sugar, Variables, Types, Classes, functions, method calls, structs are just syntactic sugar too. It just so happens that the syntactic sugar of grouping functions with data is OOP.