News for hackers. Stuff that matters.
Re:The Invisible Bunnies That Power World of Warcraft (2017) by baq on Monday December 11, 2023 @12:17PM (#38602424)
> A component is an object and therefore perhaps ought to be represented by a class.

That's what those who ditch inheritance altogether when designing languages challenge and it turns out not much of value is lost :) 'Component is an object' is something you'd hear from an OOP practitioner which isn't exactly convincing to people thinking functionally.

Re:The Invisible Bunnies That Power World of Warcraft (2017) by Coder1996 on Tuesday December 12, 2023 @11:10AM (#38614090)
I actually use a little bit of both OOP and functions.

What I don't understand, I suppose, is if a Component isn't an object that acts, then what is it?