skip to content

Enums and Pattern Matching

0 questions

Enums with associated and raw values, exhaustive switch, where clauses, if-case and guard-case, and indirect enums for recursive types. Interviewers like enums because modelling state as an enum with associated values is the idiomatic Swift answer to a pile of loosely related optional properties.

questions

no questions here yet

this part of the tree is still being written

>
0 questions in this topic or below it