3 ms·
> protocol extension + generics + class + structs you are referring to basic languauge features... you consider classes and structs pain points? these are the
by jb1991 3y ago
> protocol extension + generics + class + structs
you are referring to basic languauge features... you consider classes and structs pain points? these are the basic building blocks of the language, if you find them painful this is definitely not the language for you.
- bsaul 3y agoprotocol extension adds another axis of design, with all its new gotcha ( pat , overrides, etc) It looks great on paper and do enable beautiful designs in some cases. But after tasting languages like go you realize you can get away with struct & functions in 99% of the cases, and that having less design options is actually a plus. It lets you focus on what really matters : domain modeling.
- jb1991 3y agoIt's a lot more than "looks great on paper." My suspicion is that you have not really used and benefited from these features in a non-trivial way or you'd understand why they are there.