3 ms·
Right, but extension methods are a hack to cover up problems with OOP
by mhh__ 2y ago
Right, but extension methods are a hack to cover up problems with OOP
- jayd16 2y agoIt's just sugar to turn functional style into .Syntax(), but because of that the tooling is very nice and things like LINQ can be a fluent API instead of LISP. You can call it a hack but IMO you get the best of both worlds.
- mhh__ 2y agoDon't get me started on fluent apis lol
- CharlieDigital 2y ago"cover up" feels like the wrong sentiment here. It's adding optionality and in fact, doesn't in any way break OOP at all; it is syntactic sugar.