News for hackers. Stuff that matters.
Re:Algebraic Data Types for C99 by jjice on Thursday May 09, 2024 @09:15AM (#40307899)
I've never written Swift, but it seems like they have it too https://docs.swift.org/swift-book/documentation/the-swift-pr...

I also would love a future where ADTs are more common in imperative languages

Re:Algebraic Data Types for C99 by odyssey7 on Thursday May 09, 2024 @09:26AM (#40307991)
Swift “enumerations” are very nice.