martinsson / BugsZero-Kata

Practice Designing code for less bugs
86 stars 131 forks source link

Solution question categories: Use a questionDeck map to enumerate categories and link them to questions #12

Open martinsson opened 6 years ago

martinsson commented 6 years ago

replace two groups of coupled if-statements with one single domain-expressing data-structure

martinsson commented 5 years ago

This makes it easier to add a category while making it unlikely to break the fact that