4 ms·
Its very much a culture thing and not a language thing. C# is very versatile. Go look at Unity code and its a fairly different style. It has its own quirks a
by jayd16 2y ago
Its very much a culture thing and not a language thing. C# is very versatile. Go look at Unity code and its a fairly different style. It has its own quirks and there's no such as "the right way" but it doesn't feel like Spring.
Also, extension methods are great. LINQ is amazing and that's partly from extension methods.
- mhh__ 2y agoRight, 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.