Re:The faster you unlearn OOP, the better for you and your s...
by fenomas on Sunday November 25, 2018 @10:40PM
(#18530864)
You can define iHittable and get the code to compile, but it doesn't make the actual issue (polymorphism) any easier to tackle. I think eschewing inheritance in favor of aspects is definitely the way to go.
(Of course, you can wrap everything in a fluent-style interface either way - that part is orthogonal to all the rest.)
(Of course, you can wrap everything in a fluent-style interface either way - that part is orthogonal to all the rest.)