Arthur O'Dwyer personal blog

The use of `class` for things that should be simple free functions

For those who only read above the fold: I don’t say that all object-orientation is bad! OOP, especially classical polymorphic OOP, has a well-deserved place in real code. I’m going to talk about a very specific antipattern that I see with some frequency: the use of class for things that should be simple free functions.
Points
408
HN comments
584
Submissions
2
Cited by
0 commenters

Software EngineeringProgramming Languages2020

On Hacker News

SubmittedTitle on HNPointsComments
May 28, 2020The use of `class` for things that should be simple free functions by ingve408399
May 29, 2022The use of ‘class’ for things that should be simple free functions (2020) by ddtaylor106185

More from Arthur O'Dwyer

All 11 posts →

Related posts from the same era