News for hackers. Stuff that matters.
Re:If Inheritance is so bad, why does everyone use it? by skydhash on Friday April 12, 2024 @09:07AM (#40012215)
Because the tree is a nice abstraction for some problems. But sometimes you need a collection of pure functions. Sometimes it’s best to think of your object as data blobs going through a line of map,filter,reduce functions. Not every part of your application is the same, use the right abstraction for the job.

There are no comments on this comment yet.