sebastiansylvan

Open full view…

Implementation Inheritance Considered Harmful? // A Random Walk Through Geek-Spac

Thu, 06 Apr 2017 18:46:01 GMT

nickkent
Thu, 06 Apr 2017 18:46:01 GMT

Just stumbled upon this piece, and found it to be a charming little time capsule. Your desire to see a "modern, statically typed, OOP language try this delegation/traits based approach" has been realized in three of the most desirable new langs: Swift, Rust and Go, and most people seem to love it. Admittedly, Swift didn't go as whole-hog with it as the others, but if Apple didn't have business interests (such as making it easy to bridge to Obj-C Cocoa code) that demanded at least the ability to use implementation inheritance, then my guess is they would have chucked it out in favor of just using protocols as well. Cheers.