Slashdot Mirror


How To Get a Game-Obsessed Teenager Into Coding?

looseBits writes "I have a friend whose 14-year-old son spends all his time gaming, like any normal teenager. However, my friend would like to find a more productive interest for him and asked me how to get him into coding. When I started coding, it was on the Apple II, and one could quickly write code that was almost as interesting as commercially available software. Now, times have changed and it would probably take years of study if starting from scratch to write something anyone would find mildly interesting. Does anyone have experience in getting their children into programming? How did you keep them interested if the only thing they can do after a week is make the computer count to 10 and dump it on the screen?"

24 of 704 comments (clear)

  1. You don't by elrous0 · · Score: 5, Insightful

    Coding isn't something someone else chooses for you, it's something you choose for himself. And it has NOTHING to do with him being a gamer. Relating "He likes to game" with "He will like to code games" is no less absurd than relating "He likes to game" with "He will like to be an electrician." Gaming and coding are two completely different things, only tangentially related by the thinnest of connections. At the very most, you might tell him that there is code behind his game. But if he is 14 and doesn't know that, he's probably too stupid to ever be a coder anyway (well, he might still be qualified to code for EA).

    My advice? Politely tell your friend to ask his son what *HE* wants to do with his life. If the kid's answer is something reasonable (i.e. not "rap star," "sports legend," or "professional gamer"), then your friend should help the kid explore *that* profession, and not just assume that he's destined to be a programmer just because he likes to game. Programming is not the kind of thing you get into because some putz friend of your father's goads you into it.

    Ironically, when I got into coding, my parents tried to goad me *OUT* of it (because I would code for hours at a time and they wanted me to at least go outside). Now that is how you know you're meant to do something!

    --
    SJW: Someone who has run out of real oppression, and has to fake it.
    1. Re:You don't by denmarkw00t · · Score: 4, Insightful

      Or be qualified to run Activision?

      But yeah, like OP says, you can't expect him to want to code just because he loves to game. Some of the best advice ever that I hope every parent/parent-to-be out there takes from the comment would be

      Politely tell your friend to ask his son what *HE* wants to do with his life.

      It took my parents years of coming around to this - they tried getting me into sports and music (I do love music, just not what I wanted to be doing back then) before finally realizing that I wanted to work with computers, both in hardware and software, and that their best bet was to support me so that I could grow up to do something I love, not something that they wanted me to do or hoped I would do. It's fine and dandy to explore different interests with your kids, but if you don't consider what THEY want then you're just being a jackass, no matter how good your intentions are.

    2. Re:You don't by Max+Romantschuk · · Score: 4, Insightful

      Coding isn't something someone else chooses for you, it's something you choose for himself.

      I wholheartedly agree. I've been coding for ten years now, and all my experience tells me it's a calling. Either you want to and you'll find a way, otherwise you'll never "see the light".

      I've worked with coders who should never have been coders. They had the mechanical ability to produce syntax, but not the creative spart to take it to the level of art.

      --
      .: Max Romantschuk :: http://max.romantschuk.fi/
    3. Re:You don't by elrous0 · · Score: 4, Interesting

      I've worked with coders who should never have been coders.

      I was in a programming class once and a fellow student asked me how I had solved a particularly difficult programming problem we had been given. I excitedly told him how I had come up with a clever solution that I was particularly proud of and about how I had awoken my roommate jumping up and down with delight when I did it. My fellow student just stared at me blankly, clearing not getting why I had been so excited at coming up with a unique solution to the problem. And that is when I knew that I was meant to be a programmer and he wasn't.

      --
      SJW: Someone who has run out of real oppression, and has to fake it.
    4. Re:You don't by Actually,+I+do+RTFA · · Score: 4, Insightful

      It took my parents years of coming around to this - they tried getting me into sports and music (I do love music, just not what I wanted to be doing back then) before finally realizing that I wanted to work with computers, both in hardware and software, and that their best bet was to support me so that I could grow up to do something I love, not something that they wanted me to do or hoped I would do. It's fine and dandy to explore different interests with your kids, but if you don't consider what THEY want then you're just being a jackass, no matter how good your intentions are.

      Yes and no. Some decisions (what to eat) children just aren't mature enough to make. Other skill sets (language) are easiest learned at a young age, and pretty universally useful (if only to test out of foreign language classes later in life to take something else in their stead). Or things like some sport/exercise to build good habits that hopefully last a lifetime.

      But those should be balanced by helping, nay encouraging, the child to do something he enjoys. The best habit is to teach them to pursue their interests, and the best skillset is learning how to learn.

      --
      Your ad here. Ask me how!
    5. Re:You don't by Pojut · · Score: 4, Funny

      I'd say "the touch of a woman," but that's probably insurmountable for you, too.

      You're right. I tried with your mom, but she was quite insurmountable.

    6. Re:You don't by nitehawk214 · · Score: 4, Funny

      I've worked with coders who should never have been coders.

      I was in a programming class once and a fellow student asked me how I had solved a particularly difficult programming problem we had been given. I excitedly told him how I had come up with a clever solution that I was particularly proud of and about how I had awoken my roommate jumping up and down with delight when I did it. My fellow student just stared at me blankly, clearing not getting why I had been so excited at coming up with a unique solution to the problem. And that is when I knew that I was meant to be a programmer and he wasn't.

      Your classmate was probably staring blankly because they didn't understand your answer, and thus was unable to copy it properly.

      --
      I'm a good cook. I'm a fantastic eater. - Steven Brust
  2. Mods by apoc.famine · · Score: 5, Insightful

    Find a game with good modding potential, and show them what they can do. The early ID games were where I started my programming, with simple scripts. Once you learn you can change things, the next thing is creating new things.

    --
    Velociraptor = Distiraptor / Timeraptor
  3. Re:How do you get a kid to play football? by Mordok-DestroyerOfWo · · Score: 4, Funny

    How do you get a kid into coding? Guess.

    Mind altering drugs?

    --
    "Never let your sense of morals prevent you from doing what is right" - Salvor Hardin
  4. Re:How do you get a kid to play football? by El_Muerte_TDS · · Score: 4, Funny

    How do you get a kid into coding? Guess.

    Take them outside, throw an exception to them and ask them to throw it back?

  5. Game Modding by Leafheart · · Score: 4, Insightful

    Get him into game modding. If the kid plays WoW, the modding community is great, and it was the only thing that made me endure the game for a year. WoW uses LUA, which is a great and easy to use language, couple with XML for interfaces and data transfer.

    Another option is creating mods and maps for Civilization IV. With Civ V coming this year, with even better modding potential, this is really worth a shot. Otherwise, try to check what is writable for whatever the kid is playing. Coupling the gaming experience with the more "productive" time codding, is his better shot.

    --
    --- "When you gotta do something wrong. You gotta do it right. (Fighter)"
  6. Re:Please, don't do it . . . by TorKlingberg · · Score: 4, Insightful

    Calm down already, it's a 14-year-old. Give him a chance to try it at least.

  7. Re:Same way you get your kids interested in gaming by elrous0 · · Score: 5, Funny

    10 PRINT "FUCK"
    20 GOTO 10

    --
    SJW: Someone who has run out of real oppression, and has to fake it.
  8. Re:Same way you get your kids interested in gaming by Skarecrow77 · · Score: 4, Insightful

    I think anyone who spends a lot of time on games past about 16 years needs some help growing up. The need to play so much indicates (to me) that they don't have enough interesting, more important things to think about.

    I think you may want to check the main target demographics for every $300+ console since the PS1.

    Also, "important" is subjective. Unless you're the president, the pope, or a nobel prize winning physicist, chances are the stuff you're working on that you think is "important" is probably not worth a hill of beans to the rest of humanity at large.

  9. Re:Same way you get your kids interested in gaming by Peach+Rings · · Score: 4, Insightful

    I think anyone who spends a lot of time on games past about 16 years needs some help growing up. The need to play so much indicates (to me) that they don't have enough interesting, more important things to think about.

    If he's the type to play games, nothing can compete with the fun of a video game. You don't know what you're up against. People literally, literally, abandon their lives for World of Warcraft. Life isn't very fun you know, especially for a teenager (treated like second-class citizens, zero assets and completely dependent on parents, most available jobs border on psychologically unendurable, plus all the stresses of trying to figure out what the world is all about etc).

  10. Parenting by Translation+Error · · Score: 5, Insightful

    Or grow a spine, be a fucking parent, and quit relying on discussion forums to help you raise your child.

    Part of being a parent and raising your child is making use of available resources, including discussion forums, to get information about your child's situations and possible ways of dealing with them.

    --
    When someone says, "Any fool can see ..." they're usually exactly right.
  11. Re:Same way you get your kids interested in gaming by 0100010001010011 · · Score: 4, Funny

    Tell him under no circumstances is he allowed to program. Should work with most teenagers.

  12. Re:Same way you get your kids interested in gaming by adamofgreyskull · · Score: 4, Funny

    Lesson The Second:
    10 INPUT "What is your name? : ", U$
    20 PRINT "Fuck you "; U$
    30 GOTO 20

  13. Cube 2: Sauerbraten by SheeEttin · · Score: 5, Interesting
    Cube 2: Sauerbraten. Give it to him.
    It's a free and open-source Quake-like FPS. Usually the progression goes like this: Playing -> Mapping -> Scripting -> Coding. I've seen that progression played out several times in the community and myself (full disclosure: I moderate the forums and Quadropolis.us, the primary source for maps, mods, etc.).
    Mapping is done in real time and in-game. A mere tap of the E key will switch between editing and playing, so you can see and test what you're doing immediately.
    It's also designed to be light on resources. I use the (very underpowered!) open-source radeon driver to drive my Radeon X1600 Pro, and I can get a consistent 30 FPS with the eyecandy barely dialed back.
    For a little more detail, here's the description from cubeengine.com:

    Free single and multi player 1st person shooter game with some satisfying fast oldskool gameplay. A large variety of gameplay modes from classic SP to fast 1 on 1 MP and objective based teamplay, with a great variety of original maps to play on.
    Level editing has never been so much fun: a press of a key allows you to modify the geometry / textures / entities in-game, on the fly. Even more novel, you can make maps together with others online, in the unique "coop edit" mode (!)
    The engine, though designed for simplicity and elegance as opposed to feature & eyecandy checklists, still competes nicely thanks to its novel "6-directional heighfield deformable cube octree" world structure that is the basis for its in-game editing. Occlusion culling, pixel & vertex shaders, very accurate lightmapping, robust custom physics system, network system, models, sound, scripting...

  14. Re:Same way you get your kids interested in gaming by firewood · · Score: 4, Insightful

    NOOOOOOOOOOOO! "GOTO" is EEEEEEVILLLLLLLLLL!

    Just the opposite. Far more kids were interested in science and programming back in the days when the chemistry set could burn or blow your fingers off, and the use of unprotected GOTO's, peeks, poke, and global variables could crash your computer a zillion different ways. Choosing safety has taken all the fun out of play.

    Teach the kid how to program in BASIC. Bill Gates and Woz can be his role models. What teenage kid has heard of or wants to be Djiskstra?

  15. Re:Same way you get your kids interested in gaming by Labcoat+Samurai · · Score: 4, Insightful

    I think anyone who spends a lot of time on games past about 16 years needs some help growing up.

    Which, presumably, would not be true of people who spend their time reading books, watching films, playing golf, etc..

    The old "my leisure activity is superior to your leisure activity" nonsense, eh?

    The need to play so much indicates (to me) that they don't have enough interesting, more important things to think about.

    Oh. So is this more the "leisure activities are a complete waste of time" variety of nonsense?

  16. Re:Same way you get your kids interested in gaming by imidan · · Score: 4, Insightful

    Okay, so I see your post above, talking about how you'd rather be a 'maker' than a 'consumer'. And that's fine. Obviously, you can't be a maker all the time. You probably live in a house that someone else built out of materials that someone else produced using machinery that someone else made... etc. And that's fine. Most of us don't make everything we have from basic principles. Relatively few people probably make anything at all, outside of the requirements of their job. But it's not a bad goal to have, to be creative and productive in your free time.

    What I take issue with, though, is saying that reading a fiction book is 'just' entertainment. Is there nothing we can learn from fiction? I studied creative writing as an undergraduate student; required to be a good writer is to be a good reader. In that sense, as I consume fiction, I'm strengthening my own base of experience for composition. And I'm not a writer who thinks that genre fiction is necessarily all rubbish. I certainly think we can learn from, say, a Dan Brown book, even though he doesn't have the canonical blessing of Dickens or Thoreau or Homer, or whoever. It doesn't mean we should emulate him, but any experience is an opportunity to learn.

    And that's really my point: it's not about whether or not fiction is a frivolous use of time, it's that there are a lot of things out there that people scoff at as being 'just' entertainment, but all of these things have something to teach us. Consuming and experiencing the works of others, even in areas that we don't traditionally think of as high art, are vital parts of the creative process.

    Would any of us remember Warhol if not for his inspiration by such otherwise utterly mundane things as Campbell's Soup? Where would Lichtenstein have been without comic books, which are, even today, derided as a waste of time?

    Entertainment is only 'just' entertainment if you learn nothing from it and refuse to be creative, yourself. Like it or not, video games and fiction are a large part of our culture. Our immersion in this culture informs our creative choices. If we spend too much of our time consuming, it interferes with our own expressions of creativity, and that's a problem. But I don't think you should feel guilty for spending an afternoon at a book, as long as you possess the analytical ability to take something from the experience. And if you don't have that ability, you probably wouldn't feel guilty about it, anyway.

  17. Re:What is "important", anyway? by ajlisows · · Score: 4, Insightful

    You know....I think once you start being concerned with "So much time wasted" when you were younger, you may be taking yourself too seriously (unless you seriously had a gaming/other problem). In my high school/college years I spent a lot of time playing video games, playing D&D/strategy board games, playing basketball, fishing, and getting fucking wasted. None of those activities are really helping me succeed in life, but I ENJOYED them.

    I guess if you intend to be the worlds greatest coder/golfer/singer/whatever you need to start early and spend an inordinate amount of time focused on your goal. The rest of us who just want to enjoy life and work at a halfway decent job are going to have time to fritter away. If I had spent my youth simply preparing for adulthood I would be a lot more disappointed in myself.

  18. Re:Same way you get your kids interested in gaming by fractoid · · Score: 4, Insightful

    You and TFA are talking about completely different things when you say "beginner programmer". You mean someone with maybe 6 months university-level tuition - hell, in my course we didn't cover Dijkstra's algorithm and A* until I think third year. TFA is talking about 'beginner' as in 'a program is a series of instructions'. Speaking as someone who wanted to learn to program since I was about 12, I made several attempts to get started and found it way too boring each time. Once I typed some old games into our BBC Micro from a magazine but I had no idea what the code meant. It wasn't until I was about 16 that it 'clicked' and I started understanding how to code.

    As for teaching yourself to program as a teenager, that's the one common aspect among all the people I know who are truly good, 'natural' programmers. We all taught ourselves. And that's what I'd say to TFA: Don't try to 'make him interested', let him develop his own interest. Don't stress if he's not writing FPS games at 12. The absolute best way to make anyone hate ANYTHING is to nag them into doing it.

    --
    Rampant carbon sequestration destroyed the Dinosaurs' tropical paradise. I'm here to help repair the damage.