Ask Slashdot: How To Introduce a 7-Year-Old To Programming?
THE_WELL_HUNG_OYSTER writes I'm a professional programmer and have been programming since I was a small boy. I want to introduce this to my 7-year-son but know nothing about teaching this to children. Since he enjoys Roblox and Minecraft very much, and knows how to use computers already, I suspect teaching him to write his own small games would be a good starting point. I'm aware of lists like this one, but it's quite overwhelming. There are so many choices that I am overwhelmed where to start. Anyone in the Slashdot in the community have recent hands-on experience with such tools/systems that he/she would recommend?
Use scratch. It's mildly obnoxious for a real programmer, but has everything you need off hand, and program flow is very easy to visualize.
Did BASIC get uninvented recently? Why do people not start there?
See that "Preview" button?
They were about that age.
I eased the process so, that I made them design the game story and visual look. Later on, they looked and gave input as I churned the code during the next few days. After it was done, and they wanted to change something about it, they had to do it themselves -- I left several 'little annoying things' that are easy to fix there, so that they would ask and would want them changed.
Being able to do noticeable effect with little changes made code less mysterious to them, and they were able to change little things on their own later on.
They don't want to be good at coding, and are interested in other things. But atleast now they have experience of that as well.
Kodu from MSR is excellent.
http://research.microsoft.com/...
"Kodu is a new visual programming language made specifically for creating games. It is designed to be accessible for children and enjoyable for anyone. The programming environment runs on the Xbox, allowing rapid design iteration using only a game controller for input."
PGP KeyId: 0x08D63965
Use Scratch - https://scratch.mit.edu/ It's what CoderDojo uses when teaching kids programming. It has a fun, immediately responsive interface. Bright colours and cartoon characters to attract kids, is easy to make basic games which makes it more fun, and still teaches programming logic.
http://www.learntomod.com/
Give the kid a computer, and programming book.
Install an electronic lock on the door with an interface to the computer.
Give them simple instructions.
Serious? Seriousness is well above my pay grade.
My kid loves this one: http://codecombat.com/
I got him started on it when he was 10, and he completed all of the free levels in two weeks with minimal help after I worked with him through the first few.
Lots of other great recommendations here: http://venturebeat.com/2014/06...
The board game one I've heard is good for younger kids, but once they have it down it's rather boring.
-Rick
"Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
Minecraft Mods are an excellent way. My youngest latched onto those with no issues. Ironically, I tried to teach my 13 year old Apple's Swift language and he was totally uninterested, but mu youngest is latching right onto it, finding ways to modify our test game we're working on, and reciting back to me what objects, methods, and attributes are. I think he even understands inheritance and method overrides. He's got the tree structure of nodes in SKNodeKit down as well. And he's 9. And to think, the 13 year old was the one who expressed a desire to learn how to write games. To each his own...
Select from tblFriends where interesting >= 4;
Don't?
Why the heck are you supposing a 7 year old one should/could/want do that?
Can he write already? Read? (Likely yes) ... how is he in math? And why the funk do you want him to exercise his hobby behind a computer instead of playing outdoors with other kids, a dog or hanging in a rocking chair and reading, if he can read ...
Coding is a nice word to camouflage all the variations of developing, programming, software engineering, computer science ... what actually do you mean with coding?
Why don't you let him practice cooking and read a cook book and then let him experiment with cooking and write his own cooking book? That is far more "coding" than most "coders" ever do in their job.
Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
Unless you're kid truly displays a passion for it, I would not advise pushing him onto it. It's very likely that it'll overwhelm him, and then he'll never want to touch it again. If you are dead set on doing something like that, I would recommend starting with a LOGO implementation: those are usually pretty easy for most kids to handle, and indeed I got my start with it.
But seriously, playing Minecraft and Robolox != enjoying programming. If anything, it shows that he likes building things, but that does not mean he is a programmer. Give him small and short steps, if at all; if you force this on him, he is going to hate it for the rest of his life. And if programming doesn't work out for him (and I highly suspect it might not), try giving him something practical or more physical; building models sounds like something he would enjoy, and LEGO's (if he doesn't have them already) would probably interest him.
Do keep in mind, he might be playing Robolox and Minecraft for the social element behind them. It's very well possible he's playing them to make things, but a bunch of kids I've seen play it do so because it's an activity to do together, and I don't know they'd do it alone. Obviously, you are going to have to make that decision and I can't, but it's something to keep in mind.
I don't mean to sound scary or anything, but you really want to make sure this is something your kid enjoys before exposing him to the full brunt of it. If he doesn't have a natural liking for it, it's going to be very stressful for the both of you. A lot like if your father ever made you play sports when you were younger - make sure gently stroking his interest does not turn to squashing it.
Whatever happens, just keep an open mind and be sure he knows he can say what he wants. I wish nothing but the best of luck for you and your son!
"Set a man a fire, he'll be warm for the rest of the night. Set a man afire, he'll be warm for the rest of his life."
Logo was my first thought as well, since I realized years after the fact that it and its use of turtle graphics was how I was first introduced to programming, way back in 3rd grade (I'm now in my 30s and have been in the industry for awhile). I didn't recognize it as programming at the time, but in retrospect I can recognize that it laid the foundation for the sort of thinking that became important later in life.
In that same vein, when you're talking about introducing programming to someone at that age, it probably shouldn't be "programming" as most of us think of it on a daily basis. Instead, you might consider activities that get them thinking in the sorts of ways that they would use in programming. Asking them to move a turtle through a maze and other such things in Logo is one way to do that, certainly, and it worked for me, but it's not the only method. Another might be to play a game like SpaceChem, which is essentially a graphical means of programming algorithms that assemble chemicals to meet objectives in the game. Other visual languages might be a great start too. If you're on a Mac, download the free developer tools and check out Quartz Composer, which can produce some immediate graphical results with very little effort. Likewise, if you felt comfortable teaching Swift (it seems fairly approachable, but I've never used it), XCode provides "playgrounds" in which developers can immediately see their results played out.
But yeah...I'd focus laying the groundwork for programming-like thinking, rather than jumping straight into programming proper.
Children aren't clones of their parents. (And even when we discover a way to make clones, they still won't be this kind of clones.)
"I would have benefitted from learning programming early" or even "I did benefit from learning programming early" are terrible reasons to teach your kid programming early unless the benefits apply to most people, not just to you. And they don't.
This is just a variation of the "how do I get my kid interested in sci-fi" or "how do I get my daughter interested in programming" questions we've had before, and the answer is the same.
The perfect tool is whatever the kid is interested in. If you try to teach them how to write a game with Minecraft, and they want to write spread sheets, they are going to hate coding. Now, as parent post notes, Minecraft will probably hold most kids attention.
Figure out some fashion that code interacts with their favorite thing, and there is your in. Building basic web pages might be a start, or perhaps set up a command line application where they can play with string manipulation. There are many ways you can simplify complex tasks and projects with 'training wheels', ex: APIs and such to hide away complex stuff that isn't important to a beginner. Get them a really simple sandbox where they can change things and see the effects of their changes, and then get the hell out of the way. They will be better than you are in two weeks.
HA! I just wasted some of your bandwidth with a frivolous sig!
Yeah, it has to be his idea. So start with modding something that he likes, like Minecraft. If my parents tried to force me to learn programming, I definitely wouldn't be doing it today. Fortunately for me, they didn't understand anything about computers, which allowed me the freedom to learn it on my own.
Peter predicted that you would "deliberately forget" creation 2000 years ago...
It's a mod where you get little consoles, you craft them
then you can program them with the simple scripting language Lua to automate actions in Minecraft: mine, fight, farm, etc
it's good because they are programming *in* the Minecraft world: you're piggybacking on their love of the Minecraft universe to get them into programming
http://www.computercraft.info/...
https://www.youtube.com/watch?...
intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
You know the sad thing is that AC is totally right on this one. RPi is just another computer, giving a kid a cheaper computer isn't going to be helpful unless they don't have access to another computer.
Slashdot: providing anti-social weirdos a soapbox, since 1997.
I'm now in my 30s and have been in the industry for awhile.
Ha. Hahahahahahaha. Get off my damn industry, you kid! Hell, when I was a kid and we wanted to play with turtles in a maze, we went down to the fetid, stinking, polluted sewers and caught them ourselves! And built our own mazes out of barrels of toxic waste! None of this turtles-in-computer shit.
How come Slashdot never gets Slashdotted?
I'm as geeky as they come. Most of a Ph.D. in theoretical physics, and have spent over a decade working in high-performance computing.
When I was 7 years old, I was wandering through the woods, looking under rocks for creepy crawlies, playing hide-and-seek, and playing baseball with my brother and cousins. Not only did it *not* set me back in anyway, but it is some of my fondest memories of being a child.
Let kids be kids for goodness sake. Take him to a science museum, and let *him* tell *you* what interests you. When I was a kid and hyped about computers, my dad thought computers were a fad only used to play Pac-Man. Not only do I have a good-paying career, but any time dad can't connect to the internet, I get an emergency telephone call.
Let your child steer his future. He's the one who has to live it.
I have researched this subject extensively over the last several years. Most importantly, I have exposure to children between ages 6 and 14 that can program successfully with a text editor or IDE. The short answer is go straight to Python. You can read about my personal experience with my own children here: http://pychildren.blogspot.com... The main child is now 10 and using Python with IDLE and PyCharm. Also suggest you research this site: http://www.learningtech.org/wo... which I also have experience with by sending my own kid to the class. Note the Minecraft plugins from grade 4. Definitely wish I had started my eldest kid earlier as I think that age 8 would have been fine. There's a kid in my daughter's class that is 6 years old and completely killing it with PyGame. I think that I'm going to drop down from PyGame to Python Turtle (logo) with my daughter for a while. Good luck. Feel free to send me a note with your progress. I love hearing from parents with children under age 14 that are using text editors or IDEs.
Tech is for older kids. Challenge and experiment at this age. Lego to make a bridge that the cat can cross . Draw a picture that Auntie thinks actually looks like a Badger not a [insert vague animal here] Create a birthday invitation card that has fizz. Ask 1,000,000,000 questions you don't know the answers to.
Leave it be. They're just kids.
I'd concur. My kids have an on-again/off-again interest in programming, but the crazy shit they come up with using Redstone wiring in Minecraft is just unbelievable. Sure, I could push them towards C or Ruby, but when I see them building logic gates, adders, flip-flops and the like in Minecraft I just think "they'll work this stuff out on their own". And probably have a better understanding of the fundamentals as they go on.
MIT's Scratch system is probably a good start for a lot of nascent coders though. It's not just about the code - it's also the community around it, like a Github for little ones. Strongly recommend looking into that.
This is how my kids started with Minecraft plugins, a plugin called ScriptCraft: https://github.com/walterhiggi... .js files in a directory or directly on the command line in-game. JavaScript was very approachable and forgiving, and gave them immediate visual feedback on their code. Now my 10-year-old has written a Java mod while my younger one is interested in trying. I swear the desire to mod Minecraft is doing more for STEM than any Pearson curriculum...
It lets you write mods in JavaScript, either with separate
E pluribus unum
You had sewers and barrels of toxic waste? You lucky, jammy bastard!!!!
WE had to dig our own sewers, and then build the chemical plants to GENERATE the toxic waste!!! I'd have killed for barrels of premade waste!
General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.