News for hackers. Stuff that matters.
Re:John Carmack on Inlined Code (2014) by maxxxxx on Tuesday July 19, 2016 @12:27PM (#12122664)
When I learned OOP it was all about inheritance. Only later I realized that aggregation is much easier to handle and that functions that take well defined input and return a value without side effects are easier to maintain.
Re:John Carmack on Inlined Code (2014) by jakub_h on Tuesday July 19, 2016 @06:50PM (#12125552)
It's never been all about inheritance, they just forgot to tell that to Stroustrup and Gosling. ;)