rbwhitaker / CSharpPlayersGuideEarlyAccess

A place to track issues with the C# Player's Guide for patches and future editions
19 stars 0 forks source link

Chop up Simula's Soup #664

Closed rbwhitaker closed 1 year ago

rbwhitaker commented 2 years ago

I like the Simula's Soup challenge, but it still combines a lot of things in one: (1) tuples, (2) enumerations, and (3) user input. Fortunately, I stripped out the fourth element, arrays, in the 5th Edition...

I think this needs to be broken apart. A point I've made on other challenges is that people's first experience with a new language feature really should be just a simple version of that feature with nothing else included, like user input.

I don't know what the solution is right now. It could be that I just chop up the problem into two or three stages. It would be easy to separate out the user input. It would be slightly harder to separate out the enumerations. But is three whole challenges on soup really that interesting? Should some of these be something else entirely? I think the answer will be "no" but is there some way that these challenges could eliminate the Fountain of Objects narrative? (I don't have any real concerns with narratives, but I'd always rather not have them if I can, because they're just extra stuff.)

rbwhitaker commented 1 year ago

I'm a bit sad about this, but Simula's Soup is no more. It is now Simula's Kitchen. In addition to breaking the challenge down, I also opted for a slightly different version of the challenge that deals not just with soup (and totally ditches the seasoning thing) to have things like 3-cheese pizza and 7-vegetable soup. One thing about this is that the tuple is now (int, string, string) instead of all strings/enumerations, which I think is a good improvement. And the set of challenges now baby-step you through the process, which I think should help de-problematize this particular challenge, at the cost of it now being four challenges.