by Imnimo · 1y ago · 0 comments
"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.
I do think there is pedagogical value in showing where these concepts can be used practically and the advantage of LLMs is that you can transform the examples to what you're actually interested in. For example the Red Blob Games series on A* pathfinding are really good at showing how Dijkstra and graph traversal algorithms work, for a use-case (video games) that is appealing to a lot of nerdy people.
But there's another flaw that gets overlooked most of the time, which is that we're raising kids to believe that "why are you teaching me something that you're not 100% sure I will need in my day-to-day life" is a sensible question, when it really isn't.
Outside of my 2-year stint in the game development industry, I never really needed most of what I learned about trigonometry in my day-to-day life. But that doesn't mean it wasn't useful.
Yes, we should make the subject matter more approachable to kids, but we should also try to shift the paradigm so that kids are more open to learning new things.
At some point I had made a small space ship and was able to make it turn around with the wonderful angle command [1]. However, I could not figure out how to make it move "forward" regardless of the angle.
I was also attending an after hours computer graphics club, mostly about Deluxe Paint, taught by a 20-something student (who much later went on to found a GPU company and got acquihired by ATI/AMD). He would help me occasionally, and in this case he took a tiny slip of paper and wrote down a couple of lines about sin and cos. No questions, no explanations, no gatekeeping.
Just like that I internalized this foundational piece of trig - later when it arrived in school maths it was easy and obvious for me. I had a practical application, but even more I think was because it started as a need I had, and when given to me, felt like a gift and an enabler.
Still much later I studied Seymour Papert's pedagogy and understood I had lived it. I consider myself fortunate.
Agreed.
> I think adults should be able to justify why we’re using what boils down to the threat of force (if we’re honest) to make them sit in classrooms and listen to us.
Disagree. The justification for why they should learn $FOO may never be understood by a mind that we are teaching $FOO to.
There's good justification for learning to read, but not one that would be understood by a 6 year old.
There's similarly good justification for teaching Maths, but you'd be hard pressed to convince a 16 year old of the value in practicing abstract reasoning, using Maths as the vehicle.
Sometimes, the only good answer to give a kid is "you'll see the value when you're older".
Later at university I complained about the lack of applications in the textbook, and my classmates became very upset. One of them responded, "we are mathematicians, we do not concern ourselves with applications."
Just look at software. It's undeniably useful with many applications. Still, some people treat it playfully and in an enjoyable way, they learn about algorithms they won't ever use, just for the elegance, read Knuth, even if reading some React handbook may be more useful for their day-to-day. There are more considerations than "but how will this make my employer richer?"
But IMO that pushes you to making the curriculum more flexible and not forcing every student into the same sequence where math is the core IQ test for STEM. If a kid doesn’t find it interesting I struggle to justify forcing them.
Personally I also think trig and calculus are far inferior to statistics for most people. If you have an intuition for probability distributions, precision/recall, and a few other basic concepts, you’ll be guaranteed to apply them everywhere in your life.
Of course if you are interested in STEM then calculus must be available too, but it’s pretty specialized in practice.
I think the truth is a lot simpler. Most kids won’t use trig in real life.
Advanced math came in handy just once in my life. My keys fell in the toilet, and I realized the best tool was a wire bent like an integral.
Especially when "useful" includes "to get a future job" or study something else much more useful and interesting later."
Your suggestion is interesting but I am not convinced that a student would be helped by aligning the examples with their interests. I could see a student asking how trig relates to computer games and the example the LLM generates becoming much more involved.
I see no problem with the examples being boring. The people that developed these techniques had such fundamental problems to solve and the wonder to me is the human mind that came up with these methods.
All this to say, maybe we lack appreciation for the fundamental sciences that underpin every aspect of our modern lives.
The trouble is a lot of those practical examples fall into the, "why would I care category". I had a high school physics teacher who described his university antics, one of which included a funny story of a bunch of his friends climbing on top of each other to measure the height of a flag pole. I guess the profs got tired of dealing with students scaling flag poles because I was measuring the height of mountains on the moon at the same university a couple of years later. The thing is nobody really cares about the height of a flag pole, while only a few would care about the height of the mountains on the moon.
The reality is the interesting applications are much more involved. They either require a depth of thought of process or a depth of knowledge that isn't appropriate for a textbook question. Take that trigonometry in games example. The math to do it was in my middle school curriculum, but it becomes obvious that computer graphics is more than trigonometry the moment you try to frame it as an example. I had linear algebra in high school. That will take you pretty far with the mathematics, but it will also be clear that a knowledge of computer programming is involved. Even knowing how to program isn't going to take you all of the way because few are interested in rendering verticies and edges ...
And that is just the obvious progression of knowledge in a simple application. Physics itself involves buckets full of trigonometry in extremely non-obvious ways, non-geometric ways.
I'm in agreement with this point; the examples are boring, but that's not really relevant. After all, we're mostly talking about Maths ITT, not history or social sciences.
1. Some foundational study is needed before you get to the really interesting problems at a higher grade/level/school/university.
2. Who cares if they are boring? A spectacular facility to learn Maths which is demonstrated by high marks indicates better abstract reasoning skills, making it easier for specific trades to decide who is more suitable.
3. How will the kids know whether they like Maths or not if they skip trig in high school?
(Sidenote: Am I the only one who finds trig easy and everything else in Maths hard?)
There are much deeper flaws in this question:
1. That you only learn what you are guaranteed to use in everyday life. Education should leave you with choices. You learn trigonometry so you can later choose to do things that require it.
2. That everything you learn in school has to be something that is likely to be useful. When did you last use history or literature or art?
How many paving stones do I need to buy for the walkway I'm building in my backyard?
How far from the top of the roof should I start attaching this gutter so that I still have roof to nail it to 30 feet later?
How big of a ladder do I need to get to that branch I want to cut down in that tall tree?
Will I be able to get this couch up the stairs, around the corner, and through the door?
I don't even know what it means, tbh. I feel it's going to confuse the hell out of 7th graders.
I personally prefer a serious text without bringing in unrelated concepts like food, but this is still understandable.
The first meaning of "use for a recipe" is "use as an ingredient."
But then, it's a pretty weird thing to explain to begin with, approximately every human on the planet knows what the word "list" means. So what does this pseudo-definition add?
I don't think it's good either. You'll mostly get the meaning if you already knew it.
This does almost nothing to explain what a “list” is in the CS sense. Teaching material needs to show how a list could be used for a recipe, and from that the student might begin to form a first incomplete understanding of what a “list” is.
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.
- a list can be used for the steps of a recipe
> A recipe is an ordered list of steps of what to do
Understandable.
> a list can be used for a recipe
Not so much.
Moreover, a recipe usually at least consists of two parts, ingredients and steps.
"pierogi_recipe": { ingredients: Set<(Item, Quantity)>, steps: List<Step> }
So the analogy kinda muddies the waters.
The first 3 are simply plain wrong.
GenAI's gonna GenAI I guess.
> "a list can be used for a recipe"
A recipe is not just a list of steps, it's also a list of ingredients, potentially an introduction, some pictures, etc.
Ask a kid to draw you a mock recipe, you won't just get a list of steps in return.
> "a set can be used to list all the unique ingredients you need to buy for a week's meals"
Ingredients have quantities attached. If I tell you to make a cake you need sugar, an egg and flour and give you all the steps but no quantities, you're not making a cake. A map is the obvious choice for storing ingredients.
I agree that ingredients are unique, but they have attached data which is just as relevant as the ingredient itself.
> "a map can be used for a cookbook"
I just don't understand how a cookbook is supposed to represent a map, it just doesn't make sense, not even with the additional context of the previous metaphors.
At best it would be somewhat understandable if it said a map can be used for a cookbook, with dish names mapping to recipes, but even this would be a stretch and assume a dish can be made in a single way.
Keep in mind the goal is to teach someone who has zero ideas about datastructures what they are, not to give some analogies to an experienced software engineer.
I agree, which is exactly the problem I have with your objections. If you're teaching data structures to a kid with zero knowledge, you do it gradually, rather than trying to turn them into an experienced software engineer right from the start.
Start with an oversimplification and then build on top of that. The point of an introductory example is to focus on a single concept or a single aspect, and communicate it in a way that is intuitive to someone with no knowledge of it, without overwhelming them or distracting them with additional details. Then, once they've grokked it, challenge them to find flaws in the oversimplification and use that to teach the next concept.
> Ask a kid to draw you a mock recipe, you won't just get a list of steps in return.
Depends on the age. When they're young enough and haven't actually done any serious cooking, kids tend to think that recipes are a series of steps.
Hell, a lot of adults I know, when I ask them something like "how do you make X", start by explaining the steps instead of laying out all the ingredients and their quantities.
This is exactly what I'm talking about when I refer to overwhelming or distracting your students with additional details. You're not trying to build a cookbook app, you're trying to teach someone about a specific data structure.
> Ingredients have quantities attached. If I tell you to make a cake you need sugar, an egg and flour and give you all the steps but no quantities, you're not making a cake. A map is the obvious choice for storing ingredients.
If you're trying to teach sets and your domain of choice is cooking, it makes sense to start with a "list of unique ingredients". You're focusing on uniqueness as a property of sets. Then, once you've explained sets, you can point out that a list of ingredients without quantities isn't very useful, which gives you a great way to introduce maps.
As a bonus, if you've already taught your students about tuples, you can then compare a set of tuples and a map, drawing parallels and pointing out important differences.
> At best it would be somewhat understandable if it said a map can be used for a cookbook, with dish names mapping to recipes, but even this would be a stretch and assume a dish can be made in a single way.
Again, you're thinking like an experienced software engineer. Yes, you can totally assume a dish can be made in a single way if you're teaching kids.
If I'm introducing "string" as a concept for the first time, I won't immediately start explaining the difference between a byte, a Unicode code point, and a glyph.
I don't know when these dorks will understand that education isn't a technical problem. Its a social and emotional problem.
existing material is clear enough to learn from.
Its annoying that software is such a high gross margin industry - I would love to see Googles cash get taken away so they cant take these vanity projects.
I do agree that it would be better to dial in on a pupil's interest than the grade level (my kid may be 7th grade in English but 9th grade in Chemistry, for instance.)
[Edit: fix typo]
For the most part, it's a matter of clear presentation, student engagement, and effort. A well-written textbook (many suck) and a good teacher (same) and a properly disposed student (which presupposes things like certain virtues; parents are responsible for teaching and supporting these for the most part). Technology won't get around the basic human reality, and sometimes, there's nothing to fix. Some people aren't interested.
i.e. we've been educating people for 1,000s of years even without textbooks.
Education itself isn't primarily a technology problem. Treating it as such is an administrative failure, as is pursuing a technological solution in many scenarios that are first social in nature.
And we've been doing a pretty crappy job educating people without written texts. The written word led to a tremendous acceleration of knowledge transmission. The printing press enabled that transmission at a larger, but unified, scale.
Anything we even remotely recognize as science has only ever been practiced by literate cultures.
Discarding technology for education because it's not a panacea is an absolute failure as educator.
By using the tools available at the time we did, certainly. That involves physical tools like writing, but also non-physical tools like better ways of conveying and disseminating information, better ways of testing the efficacy of various approaches, etc, etc.
Education has to evolve, as it always has. While I'm not sure TFA is it, I do think LLMs will have a role to play in making learning more accessible and enjoyable for everyone, not just kids.
If you ask it to explain some complex algorithm, it'll go "imagine a football field..." If you tell it you're a college-educated software engineer in the system prompt and ask it a non-cs question, it will go "imagine a variable..." instead.
I don't think the failure mode here is really "7th graders will see through the superficiality of this really quick". I think the failure mode here will be:
> Explain computer science basics for a 7th grader interested in poop and butt-sniffing
Although who knows... maybe this will unleash a generation of memes of the likes we have never seen before. And if the side-effect is more people are at least conversant in more topics, well, maybe that's not a failure mode at all
But... which kids? Do we have a fundamental problem reaching kids who are interested in basketball? My kid had a period of being interested in dinosaurs, but I never felt the need to reframe everything in dinosaur-terms because of that. In fact, you kinda want them to broaden their horizons beyond dinosaurs?
The real challenges in education are elsewhere, and a lot of it has to do with socioeconomic status and bad influences early in life.
Haha, you think most Googlers understand this? No chance.
This is why products like this fail, dead on arrival - the person leading the charge simply doesnt get it.
But hey go ahead and burn the cash of shareholders.
edit: Their demo video shows they allow learners to set different narration style based on their interest.
Instruction and instructors won't be going away.
Most people have never looked at textbooks needing evolving.
It's like the LLM ai shift to not think about how software used to be.