Skip to content

Comment on Swift Cryptoparent

Comments

Good summary. Also algebraic data types, although that typically accompanies the pattern matching you mentioned.

Protocols are fairly close to traits, and I much prefer that approach (and Scala's traits), to traditional OOP.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.