2 ms·
What the 55 Swift Standard Library Protocols Taught Me
- imrehg 11y agoInteresting. I haven't used Swift yet, but been learning Rust recently - the "protocols" look an awful lot like Rust's traits, is that so? The three groups shown ("can do...", "is a...", "can be..." sorts) feel like a helpful way to think about these things in general.