Reduce the scope of the conditionals-if
concept + exercise
#2365
Labels
discussion
x:action/improve
Improve existing functionality/content
x:knowledge/intermediate
Quite a bit of Exercism knowledge required
x:module/concept
Work on Concepts
x:module/concept-exercise
Work on Concept Exercises
x:size/medium
Medium amount of work
x:type/content
Work on content (e.g. exercises, concepts)
The
conditionals-if
concept currently introduces too many concepts at once: if/else statements and switch statements. The latter is already covered in theswitch-statement
concept (which is unlocked afterconditionals-if
) and should probably not be introduced earlier.The corresponding concept exercise
blackjack
has the same problem: it is designed to have students use aswitch
statement for the first task. Although it's possible for students to solve it without aswitch
statement it quickly becomes tedious to write 14if
statements in one method. I can imagine it would turn students off, to be honest.We should therefore revise the concept and corresponding concept exercise to focus only on introducing the
if
/else
statements. Especially the exercise needs a big overhaul (it did anyway, see #2311).The text was updated successfully, but these errors were encountered: