News for hackers. Stuff that matters.
Re:Pretending OOP Never Happened by wvenable on Friday May 15, 2020 @12:59PM (#23194442)
> In 10 years as a professional developer I have only ever implemented something using inheritance once.

If you build a library or framework, you'll use it more. There are often plenty of literal "is-a" relationships that don't exist as often in application code. So you probably benefit from inheritance in OOP quite a bit even if you aren't building those relationships yourself.

Re:Pretending OOP Never Happened by dktoao on Friday May 15, 2020 @03:14PM (#23196182)
And now that I think of it, what I was building was a data visualization framework that users could create "plugins" for to handle many disparate types of data. So yeah, frameworks are a great example of cases where inheritance shines, but is rather niche and not many people work on them day to day.