As Swift's 10th anniversary approaches, the post discusses some design decisions that could have been different for Swift's associated types for protocols and lists some features that could have been added but never were.

3m read timeFrom forums.swift.org
Post cover image
Table of contents
Generic-like protocol associated type syntax?1) Custom implicit conversions2) Lightweight sub-typing3) Lintable force unwrap.4) Suppressible warnings.5) Retroactively conforming protocol extensions.6) Multi-type extensions7) Single quoted character literals8) Values for -D compiler option like C.9) Conditionals in collections

Sort: