Open ErikSchierboom opened 4 years ago
I think flag-enums
is a bit too niche to use for compound operators.
What about numbers
? arrays
is a bit crowded and we don't want too much in basics
.
Alternatively, I don't see numeric literals covered anywhere (incl. hex format). Perhaps we have enough for an arithmetic exercise.
I like numbers
best too! I've updated the issue.
The
flag-enums
exercise introduces the concepts of compound assignments and has the following in itsafter.md
file:We should introduce compound assignment in the
numbers
exercise'safter.md
document instead (the above text can remain in theflag-enums
after.md
file). In theafter.md
document of thenumbers
exercise, we should introduce compound assignments and use the ones with mathematical operators like+=
,-=
, etc as examples.Furthermore, the
compound-assignment
concept in thelanguages/csharp/config.json
file should be moved from theflag-enums
exercise to thenumbers
exercise.edit: updated