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?"

79 of 704 comments (clear)

  1. Same way you get your kids interested in gaming by Pojut · · Score: 2, Insightful

    Get them started on the classics.

    1. 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.
    2. Re:Same way you get your kids interested in gaming by genner · · Score: 2, Funny

      10 PRINT "FUCK" 20 GOTO 10

      That's a great way to learn about a text to speach api.

    3. 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.

    4. 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).

    5. Re:Same way you get your kids interested in gaming by Anonymous Coward · · Score: 2, Funny

      How to get child X to do Y activity

      Since X and Y are the representations for the sex chromosome, I think "X will do Y" soon enough. Better talk about condoms than programming.

    6. 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.

    7. Re:Same way you get your kids interested in gaming by kirk.ky · · Score: 3, Interesting

      I have the same issue, with 12 and 13 year old sons. programming is a unique frame of mind and not everyone finds it as pasionate. I recently taught the oldest how to create domains and gave him access to a webserver and he is obsessed with coding html. ( www.kirkster.ky and www.simster.ky ) Dont know how much of it is original or just cut and paste but it looks impressive. With the other, being a bit more focused and detailed, i started building a graphics engine from scratch, and included him in the entire process, with the intentions of adding physics, collision, joints etc for a virtual robotic workbench, the trick here is to merge programming with something the kid finds rewarding, not just raw programming for programming sake. Its not structured but it does jump start the process.

    8. Re:Same way you get your kids interested in gaming by bobdehnhardt · · Score: 3, Funny

      NOOOOOOOOOOOO! "GOTO" is EEEEEEVILLLLLLLLLL!

      while (1) {
              print "FUCK";
      }

    9. Re:Same way you get your kids interested in gaming by imidan · · Score: 3, Interesting

      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'm unclear on whether this dig at the end of your otherwise reasonable post is flamebait, or if I misunderstand what you mean be 'a lot of time', or if I just completely disagree with your premise. I'm far past 16 years old, and I still play games on my PC and consoles. Not every evening, not every weekend, and not the number and variety of games that I played when I was much younger. But still, regularly enough that I consider myself to be a 'gamer' when I buy PC hardware. I look forward to certain releases, like Fallout 3 or Assassin's Creed 2. I've got plenty of interesting, important things to think about. I have a full-time job in software development, and I'm starting graduate school in the fall. For me, gaming can be a fun way to relax in the evening. I don't feel compelled to think about interesting, important things at every waking moment. Do I need some help growing up, or can I spend my free time on the pursuits of my choice?

    10. 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

    11. Re:Same way you get your kids interested in gaming by ArundelCastle · · Score: 2, Insightful

      Also, consider that any given teenager might not be interesting in programming (SHOCKER!) and prefers to draw. This can pretty easily lead into free 3D modeling tools like DAZ Studio, where you can make a fair bit of change just being good at crafting and skinning objects. (Don't worry about buying a copy of Photoshop, the kid'll take care of that. ;) Then there's game modding, level design, etc. etc. If an indie game catches his/her eye, they are off to the races.

      I grew up on Apple BASIC, QuickBASIC, DOS Batch, Turbo ASM/Pascal/C, and finally decided there wasn't any satisfaction for me in building applications, only using them. Especially after watching the coding lifestyle of friends and family in the field. So I became an expert in that. Now I'm a professional graphic and web designer, and get to hire programmers to do the mathy stuff I don't wanna. :)

    12. 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?

    13. 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?

    14. Re:Same way you get your kids interested in gaming by Sir_Lewk · · Score: 2, Informative

      Oh boy. When amateurs program...

      while(1) {
              printf("FUCK\n");
      }

      Remember kids, always use the one true brace.

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
    15. Re:Same way you get your kids interested in gaming by d4nowar · · Score: 2, Informative

      Why even include the brace?

      while(1) printf("FUCK\n");

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

      I think every person that tells others they need to grow up, can use some growing up themselves.
      Think about that one for a while; you'll probably get it by the time you've grown up ;)

      --
      Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    17. Re:Same way you get your kids interested in gaming by BLAG-blast · · Score: 2, Interesting

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

      Funny, I started programming round when War Games came out. My parents were very worry about my interested in computer programming, I was banned from owning a modem while I live at home. Or maybe it was all a ploy so I would leave home and go to college, rather than staying home and become a fisherman.

      --
      M0571y H@rml355.
    18. Re:Same way you get your kids interested in gaming by anarche · · Score: 3, Insightful

      Mod parent up. Not everyone has the mindset for programming.

      Having said that - if you can't build your own engine - maybe get him started on modding?

      --
      Wait! Whats a sig?
    19. Re:Same way you get your kids interested in gaming by ciaohound · · Score: 2, Funny

      get him started on modding

      Whoa now, big fella. First, get him a slashdot account, have him read, post some good comments, maybe submit a story, then he can start modding.

      --
      Oh, yeah, it's not easy to pad these out to 120 characters.
    20. 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.

    21. Re:Same way you get your kids interested in gaming by imidan · · Score: 2, Interesting

      What dig?

      The dig that I posted as a quote from the GP. Gamers past the age of 16 need help growing up? They don't have enough interesting or important things to think about? I disagree that that is necessarily the case, and it seemed an unnecessarily abrasive way to state the position. Granted, it provoked conversation.

      That aside, I agree that if a person is playing video games, or engaging in any other activity, to the extent that it's impairing their ability to engage with the real world, then that's a problem. I never suggested that it wasn't. But I didn't get the sense that we were talking about a kid who was failing in life because of gaming, so that's not even a situation that I was trying to address.

    22. Re:Same way you get your kids interested in gaming by zeroshade · · Score: 2, Interesting
      No offense, but you seem to be taking the viewpoint that games are immature. This is a problem with many people nowadays, not only with gaming but with other just as legitimate hobbies.

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

      Why can't playing a video game be that "interesting, more important" thing that you say they don't have? Just as people still believe that Comic books are just for kids, people still have that stigma attached to video games. I can name many main stream comic books that are not for children even if many people think they are. Playing video games is just as legitimate of a hobby as woodworking, fishing, or reading a book, yet because of the idea it is "immature" gaming is frowned upon. For me, gaming led to a general interesting in all things computing and thus to a successful career as a software engineer. I still play video games on my free time because it is a hobby I enjoy. There are video games which are every bit as interesting and works of art as a movie, a book, or a painting.

    23. 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.
    24. Re:Same way you get your kids interested in gaming by St.Creed · · Score: 2, Informative

      Dijkstra, not Djikstra. Brrr....

      --
      Therefore, by the (faulty) logic you're using, you're just a cow with a keyboard - osu-neko (2604)
  2. 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 DeadDecoy · · Score: 2, Insightful

      I agree with most of your post but I still think the kid could be fostered into coding if they were given some exposure rather than a generic 'what do you want to do with your life' question. My best suggestion along those lines is to see if the kid fiddles with map makers (e.g. from valve or blizzard) or show them some small programs in openGL or pyOgre where there's some immediate feedback to the work they put in. Again, the poster is right in one sense, coding is hard work, and if the kid doesn't have a predisposition to that, then it ain't going to happen in the near future.

    4. 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.
    5. Re:You don't by Pojut · · Score: 2, Interesting

      I had a similar thing with cars. Figuring out how to fit this part onto this car, or trying to figure out what's making that weird noise, or bending a custom exhaust out of a straight piece of pipe for a car that didn't HAVE an exhaust system on it as a guide...the whole idea of figuring it out propelled me.

      The same thing applies to my current job with mail merge programming. I absolutely love it when a client requests something that I not only haven't done, but something I never even considered doing. The challenge is what makes it fun. I dare anyone to name something as emotionally satisfying as facing a seemingly insurmountable problem...and then finding a solution.

    6. 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!
    7. Re:You don't by Anachragnome · · Score: 3, Informative

      "It took my parents years of coming around to this ..."

      This.

      Don't try to force your hand in the matter. If the kid doesn't want to do it, so be it. A forced hobby is just another chore without allowance to look forward to.

      As far as how to encourage it, and there is nothing wrong about that--just know when to lay off, I would recommend playing a game (TOGETHER!!) that allows for HEAVY mod application/usage. Even something as simple as writing LUA mods for WoW might get him/her interested in more complex stuff like full Counterstrike rewrites. Many games come with Construction sets and are excellent tools for learning the mechanics of a game engine.

      Last bit of advice. Unless you plan on doing this yourself as well, don't expect your kidlet to pick it up.

    8. 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.

    9. 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
    10. Re:You don't by Kemanorel · · Score: 2, Interesting

      I dare anyone to name something as emotionally satisfying as facing a seemingly insurmountable problem...and then finding a solution.

      In a word: Teaching.

      I find it to be eminently satisfying to be a part of the moment where a student is struggling with some tough (for them) concept and then the proverbial light clicks on and the understanding flows in. I also feel quite good about how students will return to me after a few years, students that quite often despised me for various reasons (not the least of which is that I made them *GASP* work and held them accountable), and tell me how much they learned in my class and wish that they had other teachers who could get through to them in the same way.

      I'm not conceited enough to think that my career is the most emotionally satisfying thing that will occur in my life, or is the most emotionally satisfying thing "EVAH!", but it is definitely a very rewarding choice for me.

      --
      Mess not in the affairs of dragons, for you are crunchy and good with ketchup.
    11. Re:You don't by syousef · · Score: 2, Insightful

      Yes and no. Some decisions (what to eat) children just aren't mature enough to make.

      This is the problem with modern society. We give kids no personal responsibility, declare that they are too immature to make decisions early, fail to teach them how to make good choices, then wonder why they go stupid at 18 or 21 or whatever arbitrary age we decide they are suddenly adults.

      You need to be teaching children to take care of themselves and that includes nutrition. Sure a little guidance is needed. "You can't always have icecream for dessert even if it tastes nice, because you'll get fat and unhealthy and feel like shit". What you've said is so absurd you might as well tell me a teenager is not mature enough to decide when to go to the toilet.

      --
      These posts express my own personal views, not those of my employer
    12. Re:You don't by DavidTC · · Score: 2, Interesting

      Yes.

      Gaming mods can be a fun gateway to programming if you're the type of person who's willing to be a programmer.

      Otherwise, it's just a gaming mod, and it's pointless to try to interest them in programming. Uses a computer all the time != destined to be a programmer(1)

      What we really need is to know the sort of games this kid plays. You mentioned some action games, and I know of NWN and NWN2 as RPGs with very large modding communities and editors built in, Civ 4 has plenty of modding resources, etc.

      Anyone else? Is there some sort of definitive list here? Fairly modern, but cheap, games with large mod communities?

      Of course, the real joke might be that, for all we know, this kid is a major modder already, world famous in his community. He just doesn't bother to call it 'programming'.

      Another gateway, of course, is web design. Get them a cheap PHP + mysql webhost, and see what they do. But if they're into games the modding gateway is probably easier.

      1) That was true two decades ago, when I was a kid. But, honestly, half the population 'uses a computer all the time' nowadays.

      --
      If corporations are people, aren't stockholders guilty of slavery?
  3. 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
    1. Re:Mods by Xzzy · · Score: 2, Informative

      Wish I had mod points (har har, no pun intended), because this is the way to go.

      Get him into a FPS that has an active mod community (TF2 would be my pick, but it's far from the only option). Even just making maps for these games is a start.. scripting game events with entities in Quake/Source based games requires a lot of if/else logic and it's a very roundabout way to get someone thinking like a programmer. From there, they'll probably want to make new guns. This will naturally lead into making mods, which require "real" programming.

      Other games that might work is Civ 4, WoW, or X3. All three have great support for mods via a scripting interface.

    2. Re:Mods by VGPowerlord · · Score: 2, Informative

      Get him into a FPS that has an active mod community (TF2 would be my pick, but it's far from the only option)

      Or better yet, Garry's Mod + Team Fortress 2.

      Granted, TF2 will likely go on sale soon... it's name in the Steam store is now "Team Fortress 2 (Mac coming soon)" and the remaining Orange Box games all went on sale the day their Mac versions went on sale... Portal was on sale for 100% off for a week and a half, while HL2/HL2Ep1/HL2Ep2 are 30% off right now.

      Speaking of which, The Orange Box is $20.99 on Steam right now.

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
  4. Think outside of the box by aBaldrich · · Score: 2, Funny

    If he is obsessed with games, then you don't have to teach him something he considers useful. Just tell him that coding a linked list will give him 200 exp points.

    --
    In soviet russia the government regulates the companies.
  5. 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
  6. Re:Give him a really crappy computer..... by DanTheStone · · Score: 2, Insightful

    I can't believe I'm doing this, but it has to be said:

    Have you considered Crysis?

  7. Mobile Programming by dakrin9 · · Score: 2, Insightful

    Android and iPhone OS's are the new Mac's and Windows back in the day. Get him an Android Dev Phone 1 (http://developer.android.com/index.html) or buy any of the cheapo androids out on ebay and have him start learning the API. It's awesome, easy, and he can create some really nice looking apps pretty quick. It's a great way to get someone excited about programming in this day and age.

  8. Re:Give him a really crappy computer..... by Major+Blud · · Score: 2, Funny

    I said "most" games.....Crysis is a benchmarking tool, isn't it? :-)

    --
    If you post as Anonymous Coward, don't expect a reply.
  9. Your friend needs to man up by birukun · · Score: 3, Insightful

    Tell your friend to man up and be a father. My son and I are building a custom case for a file server for the house, I have no art skillz but he does. Keeps his appetite for tech up without him doing the brain drain in front of the tube.

    FYI - normal teenagers do not spend all their time gaming

    --
    Self Defense - A Human Right www.a-human-right.com
  10. Test the Waters by KantIsDead · · Score: 3, Interesting
    As others have said, if a 14 year old kid is forced to do anything they will hate it. However, I think it would be fairly easy to test the waters to see if the kid might develop a genuine interest in programming.

    I may be too old, but I think the father can test the waters with his kid in a similar fashion to how I was introduced to programming: simple programs in simple programming languages. In school I was walked through "Hello, world" in BASIC and found it interesting. There's something there in the quick feedback between coding and running the code that will either trip something in the kid's mind where he is interested in this or he isn't. I say start with BASIC, Pascal, or Java, something relatively easy. Start with simple, pre-done programs that offer a quick reward for the beginning programmer. If it sticks to the point where the kid starts reading and experimenting on his own, then great. If not, hopefully the father will be open enough to explore other possible interests with his child.

    I would be worried that the father would try and throw the kid into the deep-end of the pool right away, in which case the kid is going to develop an aversion to programming. Start simple with some basic flow-charting and some basic programs. Maybe get some electronics kits to see if hardware appeals more than software.

    One note. As the youngest of three sons, I programmed on my own and in conjunction with a few friends. Generally speaking, until the news media starting hyping programming as a great career opportunity none of our parents seemed particularly interested in what we were doing so long as our grades were decent and we weren't getting in to trouble. Whether its programming, playing basketball, or anything else, so long as the father takes the time to participate in the activity with his child and encourage the child to pursue his interests (other than pro-gamer), I think good will come of it.

  11. 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?

  12. 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)"
  13. Lego Mindstorm by mrops · · Score: 2, Insightful

    Get him one. See if you can find local clubs where they have competitions involving mindstorm and what you can do with them.

    If you can invoke the inner gamer's competitiveness in him while taking up mindstorm challenge, you have introduced him to first steps of coding. Next wipe mindstorms firmware off it and load the java firmware.

  14. You do not choose software. Software chooses you. by gregor-e · · Score: 2, Insightful

    Writing software requires a peculiar temperament. One must enjoy solving puzzles, be relatively immune to repeated assaults by frustration and failure, and be willing to sink your teeth into a problem and not let go until you've solved it. Then there's the whole 'thinking logically' and breaking bigger problems down into a structure of smaller nested problems thing. Some folks just can't do it. Their brains simply do not work that way. If the kid in question isn't already curious about programming, I'd bet money he won't ever be. It's not something like encouraging him to take up playing the trumpet.

  15. 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.

  16. Maybe start from MIT's "Scratch"? by j-beda · · Score: 2, Interesting

    If he has any interest in creating something (game, interactive story, animation, etc.) it might be worth having him check out "Scratch" from MIT.

    My pre-teens have played with it a bit - it can be pretty fun, and one can see how it introduces a lot of coding thoughts.

    http://scratch.mit.edu/

    "Scratch is a programming language that makes it easy to create your own interactive stories, animations, games, music, and art -- and share your creations on the web.

    As young people create and share Scratch projects, they learn important mathematical and computational ideas, while also learning to think creatively, reason systematically, and work collaboratively. ...."

  17. Re:How do you get a kid to play football? by gstoddart · · Score: 2, Insightful

    How do you get a kid into coding? Guess.

    I found the social alienation and awkwardness of adolescence was a huge factor for me, but that might be a bit old-skool. :-P

    --
    Lost at C:>. Found at C.
  18. Re:Please, don't do it . . . by raddan · · Score: 2, Insightful

    There's nothing "special" about a person who writes code. They've simply learned how to adapt their minds around the way that a computer solves a problem. Sometimes, having to go through this exercise means that you get new insights into the problem. That's why I'm a professional programmer. Other times, it's just a dull drag to get'r'done.

    Until I went to college, I was "self-taught" in programming. I learned a lot of cool, new things in college, and I learned a heck of a lot more when I started producing code for money. I have the "knack" for it. But you know what? When I look back at code I wrote even a few years ago, it sucked.

    Why?

    For one: programming is an art, and well, practice makes perfect. That said, everyone sucks when they start.

    But the other one, and Joel Spolsky says this rather concisely: it's easier to write code than to read it.

    Discouraging people from becoming programmers because you don't want to fix their bugs is just about the lamest argument I've ever heard. Bugs happen, man. If we had a magic formula for writing software, guess what? We'd write software to write software. No one gets it right.

  19. Re:How do you get a kid to play football? by DamonHD · · Score: 2, Funny

    But teach him to never silently swallow exceptions either, at least not without producing a log once in a while...

    Rgds

    Damon

    --
    http://m.earth.org.uk/
  20. PyGame by steveha · · Score: 2, Interesting

    I agree with the other comments: if he doesn't have the interest, or if he doesn't have the aptitude, then trying to push him into coding is a waste of time.

    That said: check out PyGame. PyGame is a set of libraries for Python, specifically intended for creating new games.

    http://pygame.org/

    Hmmm. I just went there, and it says that PyGame has now been ported to JavaScript. That probably makes sense, given the major efforts to speed up JavaScript in the new-generation web browsers.

    At the PyGame web site, there are a bunch of games people have written, with source code available; and some of these games are half-done and half-broken. If he has the inclination to code, he might get interested in a half-done game and start fixing it up. Or even take a game that isn't half-baked, and start adding new features to it.

    steveha

    --
    lf(1): it's like ls(1) but sorts filenames by extension, tersely
  21. After a week, if you need to do more... you can't. by osu-neko · · Score: 2, Insightful

    If he's been doing it for a week, and he's destined to be a coder, there's nothing you an do now to stop him.

    OTOH, if he isn't going to pursue it and take it to the next level himself, he'll never be a coder. The most important point about good programmers is that they must be able to solve their own problems (that is, at its heart, what the job is), they have to be able to teach themselves, and they must do this continually for the rest of the their lives, or at least as long as they're still coding. If they don't have the ability and the drive to teach themselves, they will never be a good coder and it's a very bad idea to try to force them into it.

    --
    "Convictions are more dangerous enemies of truth than lies."
  22. A choice by PNutts · · Score: 3, Interesting

    Give him the choice between: A. Writing pseudocode to mow a yard and see if *you* can "execute" it; or B. Mow the yard himself. Bonus: Either one can generate a living wage.

  23. 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.
  24. Visual pinball lets you code your own pinball tabl by Joe+The+Dragon · · Score: 2, Informative

    Visual pinball lets you code your own pinball tables and it's open source as well.

  25. Borland C++ Builder by blackfrancis75 · · Score: 2, Insightful

    I really think that Borland C++ Builder is a great way to start, because you *start* with a GUI designer, and add event-handlers, and eventually extend funtionality.
    It's a really easy way to lower the bar and you could get some simple UI-based games up & going with a minimal amount of (non-generated) code.

  26. MAX/MSP + Making Things by Alanonfire · · Score: 2, Informative

    you can buy a number of cool sensor packs from MakingThings and he can program it easily with Max MSP to do things. Using Jitter to do image manipulation is even better, since he can edit images and videos.

    Its pretty interesting. Its actually how I got into programming.

  27. Where do they game? by DdJ · · Score: 2, Informative

    On the XBox 360? Look into "Kodu Game Lab" and maybe eventually XNA.

    World of Warcraft? There's a rich XML-and-LUA-based modding system; you can start with "hello world" apps and produce richly customized user interfaces with complex tools added to them.

    The Wii? Install the web browser, and show them a bunch of the games that are optimized for the special version of Flash that the Wii has, and then poke at one of the dev kits that works with that.

    Really, just knowing that they're doing "gaming" doesn't tell us enough to know what might best serve as a bridge to other things.

  28. It's way too late. by tlambert · · Score: 3, Insightful

    It's way too late.

    The time to get someone interested in coding was when it was possible for them to sit down with a computer and a copy of Compute! magazine, type in a game program source code, and then play the resulting game.

    Without the tie in between coding (work) and the reward (gaming), the coding doesn't become fun, unless you are already bent in that direction.

    That level of game, where you are pushing 8 bit pixels around, is, frankly, no longer interesting. At the time, however, it was state-of-the-art, and you could get your head around it easily because it didn't require a lot of abstract complexity to modify the programs. In fact, you usually typo'ed typing in the program, and it didn't do what you expected, so you learned to compare the source with what you had put in the machine, and got some debugging skills out of it and a working game as the reward. Constant exposure to this type of thing, and you can't help but absorb some of the syntax and code flow understanding necessary to take the next step and make the bad buy look different than they way the original programmer intended. Or change the game logic to the point that the game play is different, or you're getting huge scores compared to your friends because you did the right button/joystick sequence early in the game and activated the "cheat mode" you built into it.

    Those days are pretty much gone. There is a very large divide between a small amount of ability and an interesting result, because the state-of-the-art has moved on, and there's now a big divide.

    I find it really ironic that the most valuable programmers you can hire these days pretty much come from places where their idea of interesting is one generation back because the hardware and software they had to play with is one generation back, and they have a decade difference between our "old school" and theirs.

    -- Terry

    1. Re:It's way too late. by jumpifzero · · Score: 2, Interesting

      I disagree. There are a lot of tools that enable you to code interesting things with very little effort. In fact, because things are so advanced, it is now much easier for people to find interest in programming. "Back in the day" the programs light up a few leds or made a few blocks move. It wasn't impressive. Nowadays, you look at any state-of-art computer game and it's impressive. If you have the drive to understand how things work, you will very likely become interested in computers. I know many developers who came to this industry because of computer games.

    2. Re:It's way too late. by the+agent+man · · Score: 2, Interesting

      simply NOT true: http://scalablegamedesign.cs.colorado.edu/ Look at the data. Up to 900 kids per school per year make simple games and most of the them love it. That is a HUGE number.

  29. Educational tools by batkid · · Score: 2, Interesting

    There are some resources out there designed to attract the "gaming generation" into computer programming - it also happens to be a professional interest of mine (I teach primarily first year computer science).

    Perhaps the most famous would be Alice (http://alice.org) - a drag and drop 3D programming environment.
    Scratch (http://scratch.mit.edu) is a 2D drag and drop environment
    Greenfoot (http://www.greenfoot.org) is a 2D Java programming environment
    Env3D (http://env3d.sourceforge.net) is a 3D Java programming environment (Disclaimer: I am the author of this tool) - It makes programming in 3D very straight forward, especially for beginners.

    Have fun!

  30. hm. . . 14? by jafac · · Score: 3, Interesting

    This is the age where boys seem to be "lost" the most, and parents seem to get the most concerned about them.

    I work with boys (save the jokes), and I've seen it happen in several cases, right around this 13-15 age range. They suddenly find something they're interested in, and they just DO it.

    In one case, it was a kid who just suddenly found video games boring, and moved on to photography and writing. He's very creative, and he found this very rewarding.

    My own son; was a Guitar Hero monster. And I told him (joking): "if you spent this much time playing a REAL guitar, you'd be a really kick ass guitarist, instead of just beating your friends at a video game that will be obsolete in 2 years. Which do you think you'll be thankful for, when you're my age?"
    He sold his xbox360, and all his games, (I miss Halo 2. . . ) and instead of spending 6 hrs a day playing video games, he plays his guitar for 6 hours a day. And he's pretty amazing. Even if his dreams of rock stardom don't work out, he's going to have a skill and a developed talent he's going to use the rest of his life.

    So - don't "push" him in any direction. But DO expose him to other things. (I think it helps if some of the exposure happened before video games came in). He'll push himself in whichever direction works for him.

    My armchair-psychologist idea of why this happens, is they're still searching for an identity. They're trying to figure out who they are. You can also make them somewhat accountable for the decisions they make too. (ie. there are consequences to spending all your time on video games. . . failing at real life).

    --

    These are my friends, See how they glisten. See this one shine, how he smiles in the light.
  31. What is "important", anyway? by Tetsujin · · Score: 2, 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.

    It's a subjective argument, of course - but being a parent means trying to guide a child to make decisions that will give him or her a good, rewarding life.

    Personally, I think I wasted far too much time in the 90's watching TV and playing games. I don't blame anyone for the decisions I made, but it really makes me think about how I want to approach the whole thing when I have kids. I love playing games, and I want to build an arcade machine and play more games. But I also recognize that games are killing my free time, even standing in the way of other things I want to do. For that reason, frogzilla's perspective resonates with me. As much as I like gaming I feel like it's unhealthy to get drawn into it too much. I don't want that for my kids.

    As for "important" - I build models, and my wife is an artist. Neither pursuit is "important to the world at large" - and sometimes I wonder if what I do isn't even sufficiently personally rewarding. But I believe it's important to develop active interests as opposed to passive interests. Enjoying work that others have made is fun but I believe it's important to learn to make your own contributions as well. Otherwise, you're just a slave of sorts - hanging forever on that next episode, the next playoff, or the next new release. Making things yourself is more challenging - and probably more expensive - but the potential rewards are greater as well.

    --
    Bow-ties are cool.
    1. 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.

  32. Why coding? by Fishbulb · · Score: 2, Insightful

    Just because he plays on a computer doesn't mean he has any sort of knack for programming.

    Better than coding might be buying him an X-acto set, some Duco Cement, some Testers paints, and some various model kits - a rocket, plane, boat, car, etc. Mix it up and get him a four-channel R/C setup and let him tear some s#!t up!

    Building stuff you can play with is immensely rewarding and not confined to coding games (or other programs).

    Hell, even something really useful like a carpentry class. My school system had them starting in 8th grade.

  33. Comment removed by account_deleted · · Score: 2, Interesting

    Comment removed based on user account deletion

  34. 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...

  35. Go straight to 3D by Locke2005 · · Score: 2, Informative

    Have you tried Alice?

    --
    I've abandoned my search for truth; now I'm just looking for some useful delusions.
  36. Does the kid even WANT to program? by mwvdlee · · Score: 2, Insightful

    I enjoy my regular trips to the toilet thoroughly. Every time I feel relieved afterwards and I tend to go several times each day.
    Doesn't mean I want to install toilets for a living.

    Just because the kid wants to play games doesn't mean he wants to make them.

    Quite honestly, if the kid wouldn't get excited about his first ever computer program counting to 10 and dumping it on screen, then perhaps he's not the type.

    --
    Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
  37. one word: pr0n by Hognoxious · · Score: 2, Insightful

    You really think he spends all those hours in his room gaming?

    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."