←back to thread

359 points FromTheArchives | 1 comments | | HN request time: 0.21s | source
Show context
Imnimo ◴[] No.45293673[source]
I looked at the example for computer science basics for a 7th grader interested in food. Explanations include:

"a list can be used for a recipe"

"a set can be used to list all the unique ingredients you need to buy for a week's meals"

"a map can be used for a cookbook"

"a priority queue can be used to manage orders in a busy restaurant kitchen"

"a food-pairing graph can show which ingredients taste good together"

Maybe I'm over-estimating the taste of 7th graders, but I feel like I would get sick of this really quickly.

replies(12): >>45293709 #>>45293849 #>>45294241 #>>45294326 #>>45295433 #>>45295632 #>>45295729 #>>45295945 #>>45296066 #>>45297739 #>>45300529 #>>45301902 #
1. ookdatnog ◴[] No.45300529[source]
Especially the set example is also just confusing for 7th grade kids (or anyone who doesn't already understand sets, really). It's technically correct to say that you can store the unique ingredients of a recipe in a set, but that's not an obviously useful thing to do (if you want to compose a shopping list, you need the quantities as well), so the example doesn't actually illustrate anything that helps make sets more intuitive to the student. I think many, if not most, kids of that age will also not even correctly parse the phrasing "list all the unique ingredients" (not to speak of the unfortunate phrasing "a set can be used to list all ..." while you're trying to illustrate the difference between a list and a set).