▲ | legacynl 3 days ago | |
> A recipe is an ordered list of steps of what to do. So of course a list can be used for a recipe. That you felt you need to add 'ordered ... of steps of what to do' to your definition of list, kind of proofs that a recipe is a bad analogy for a list. A recipe contains multiple lists, has a name, has a purpose and a desired outcome. Totally different from a simple list. But a kid who's unfamiliar with the programming concept of 'list' doesn't know that, so it's very possible that at some point they will get confused when a list can't do things that a recipe can do. |