DEV Community

Discussion on: Modernizing Java - A language feature wish list (Part 2)

Collapse
 
twof profile image
Alex Reilly

Swift enums are super powerful (automatic raw values, associated values, pattern matching, enforced exhaustive switch statements, breaking switch cases by default), and the ecosystem around optionals is fantastic.