News for hackers. Stuff that matters.
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.
Re:The Repeated Deaths of OOP (2015) by samsquire on Tuesday June 08, 2021 @09:05AM (#27434611)
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.