3 ms·
I love enums in Swift because they can have associated data. It's great to see this in other languages as well. They're so great to support the different states
by dep_b 3y ago
I love enums in Swift because they can have associated data. It's great to see this in other languages as well. They're so great to support the different states your application can be in, they can replace a lot of nullable values that only are set in a given state and in others not.