Re:Performance Tuning for .NET Core
by wvenable on Tuesday January 15, 2019 @06:11PM
(#18916590)
But you can't pass that into places that accept Foo because MyFoo isn't of the type Foo so that's a non-starter is most cases.
Secondly this code generation solution is just re-implementing inheritance again poorly and with the above mentioned limitation. I fail to see how code generating a proxy is any way better than (or significantly different from) inheritance.
Re:Performance Tuning for .NET Core
by wvenable on Tuesday January 15, 2019 @09:55PM
(#18917894)
So if you implement an interface and then use code generation to create proxy from a "parent class", congratulations you just reinvented inheritance. What's the difference?
Secondly this code generation solution is just re-implementing inheritance again poorly and with the above mentioned limitation. I fail to see how code generating a proxy is any way better than (or significantly different from) inheritance.