Kids These Days
Join the DZone community and get the full member experience.Join For Free
i'm a great believer in getting kids to code early -- after all, i'm of that generation that was taught
they can change the world.
10 print "hello" 20 goto 10
at the age of 9. there are quite a few approaches to teaching today's kids in an engaging way, but i'm a bit wary of the sandbox solutions that teach kids things like how to navigate a virtual thingy around the screen, or lets them create things in a limited virtual world. i don't think kids will easily make the leap between these sort of games to seeing the full potential of programming - they're too limited and have no context for the kids. it's just another game.
kids need to understand how programming fits into their world, they need to understand the context of coding if they're going to fall in love with it.
i like jason gorman 's comparison of programming to music. most people learn an instrument because they want to make the sort of music they hear on the radio. but you give them a recorder and teach them to play "snug as a bug in a rug" and they go off the idea entirely.
"so, is this a sexy tune, mrs. badcrumble? i just don’t think, mrs. badcrumble, that this is really gonna be a sexy tune.".
similarly, you give kids a sandbox environment specifically to learn programming for the sake of programming, and they're not going to see how this turns into facebook or google or the apps on their phones. they're going to continue seeing computer programs as something that magicians in a land far, far away made just for them. the same way breakfast cereal is grown in a box only for them. they don't see programming as something they can do, they don't see the computer as something they can influence.
just the slightest hint, the slightest push, to show them that they can be the magician, that they can have power over this world. that's the way in.
many of my generation of programmers learned by coding those godawful choose-your-own adventure games. they weren't pretty or elegant, but in a single lesson we learned that a short magic incantation could create something that looked like those games we played. with a bit of persistence we could truly create our own adventure, with a story that we created, not just follow someone else's paths. and then we could inflict that on our little sisters. it was such a short distance from the bbc command line to a game that many of us saw what programming could create, and that programming was something we could do.
there's an argument these days that computers got so complicated, so elegant, so perfected, that "kids these days" don't have that.
this is not true.
it's just not. don't be fooled by this. sure, pcs in the 1990s made it more tricky to simply program the thing. and ides felt, to those of us who learned from a blinking prompt, like cheating somehow. or, at the very least, they divorced us from the internals of the machine, provided us with too much separation (what nonsense, by the way -- an ide must be much closer to the command line than basic is from ones and zeros).
but those days are waaay behind us. several more levels of indirection later, and actually it's much easier to write something that gives the immediate feedback, something that has real context, that will help kids get it. this will help kids see why . they're the same as us, they can't just be expected to do it because, they want to know what's the point.
and these days it's easier. you've got:
- raspberry pi
- lego mindstorms
- facebook games
- minecraft plugins
- android apps
the first three items in the list are great for people who are very touchy-feely, who want to see something in the real world. can you imagine how exciting it would be for your kid to see that they wrote a program that closes the curtains? it's a tiny, stupid thing, but you just gave them control of the physical world they live in. let their imagination do the rest.
the other ideas are probably more directly related to the stuff they use the computer for. you're really providing them with a way to customize the tools they already use. who doesn't want to imprint a bit of themselves on the virtual world? these sorts of things let them control a world they understand -- in the context of a tool they know (e.g. facebook), they create a game or a plugin or whatever that works within that world. and they start to see that this tool they use to talk to their friends, this tool that is there to fill their spare time, is something they can control. maybe they'll start small, but they'll soon learn that everything they use, everything they touch on the computer, is really only code that some other human has built. they'll start to see that the computer-machine is influenceable, that they can tell it to do stuff and it will do it.
that is addictive.
that's what we want. we want to open their minds to how their world is constructed, and show them that they can influence it. they can control it.
they can change the world.
Computer IT raspberry pi app Coding (social sciences) Sort (Unix) facebook Sandbox (software development) Command (computing)
Published at DZone with permission of Trisha Gee, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
How To Use Pandas and Matplotlib To Perform EDA In Python
Never Use Credentials in a CI/CD Pipeline Again
How To Use Geo-Partitioning to Comply With Data Regulations and Deliver Low Latency Globally
Chaining API Requests With API Gateway