Re:Swift is like Kotlin
by jnbiche on Thursday May 18, 2017 @11:41AM
(#14368157)
I agree with Filligree that sealed classes are not really capable of emulating type classes. They can be used for algebraic data types, which is great, but for true extensible type classes you'd need something like Scala traits.
[ Parent
| on HN ]
There are no comments on this comment yet.