4 ms·
So, protocols are essentially interfaces for structs?
by applecore 11y ago
So, 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.