[codecraft] recursive enums in Swift
Michael Bar-Sinai
mich.barsinai at me.com
Sat Oct 10 15:00:50 EDT 2015
That's cool - they've merged case classes, pattern matching and enums.
Pattern matching is something I miss in Java - it makes it alright to downcast and access specific methods that the base class does not have in a single syntactic construct.
> On 9 Oct 2015, at 12:32, Philip Durbin <philipdurbin at gmail.com> wrote:
>
> Interesting: https://twitter.com/winterbe_/status/652382988186087428 <https://twitter.com/winterbe_/status/652382988186087428>_______________________________________________
> codecraft mailing list
> codecraft at or8.net
> http://or8.net/mailman/listinfo/codecraft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://or8.net/pipermail/codecraft/attachments/20151010/6e91a9f9/attachment.html>
More information about the codecraft
mailing list