5 ms·
Protocol-Oriented Programming in Swift
- panamafrank 11y agono safari no play... i bet they're fun to party with.
- applecore 11y agoSo, protocols are essentially interfaces for structs?
- pacala 11y agoYes. Simple. There is code [interface implementations] and data [structs]. Elementary. Except that our industry went on a wild goose chase, declared that everything is an object and everything that isn't an object doesn't matter, then rallied around a programming language with poor support for data. 25 years of walking on one foot. Time to discover we have two feet and start running.