Slashdot Mirror


Why We Should Teach Our Kids To Code

An anonymous reader writes "An article by Andy Young in The Kernel makes the case that lessons in programming should be compulsory learning for modern school kids. He says, 'Computers help us automate and repeat the many complicated steps that make up the search for the answer to some of our hardest problems: whether that's a biologist attempting to model a genome or an office administrator tasked with searching an endless archive of data. The use of tools is a big part of what make us human, and the computer is humanity's most powerful tool. ... The computer makes us more efficient, and enables and empowers us to achieve far more than we ever could otherwise. Yet the majority of us are entirely dependent on a select few, to enable us to achieve what we want. Programming is the act of giving computers instructions to perform. This is true whether the output is your word processor, central heating or aircraft control system. If you can't code, you are forced to rely on those that can to ensure that you can benefit from the greatest tool at your disposal.'"

24 of 427 comments (clear)

  1. heart's in the right place, but by Anonymous Coward · · Score: 5, Insightful

    Let's start with basic computer literacy and not pretend that computer programming courses for a general audience wouldn't be watered down and completely useless - a torture for those with some aptitude for programming and a waste of time for the rest.

    1. Re:heart's in the right place, but by u38cg · · Score: 5, Insightful

      Is computer literacy for 14 year olds still an issue? Really?

      --
      [FUCK BETA]
    2. Re:heart's in the right place, but by dokc · · Score: 5, Insightful

      Is computer literacy for 14 year olds still an issue? Really?

      Of course it is! Computer literacy is much more then just clicking around with a mouse. Especially 14 year olds need to be educated about not only the technical side of computers, but also about sociological side (just turn around and check how many of them put everything about themselves on Facebook).

      --
      In love, war and slashdot discussions, everything is allowed.
    3. Re:heart's in the right place, but by errandum · · Score: 4, Interesting

      According to my organizational behaviour book ( http://www.amazon.com/Organizational-Behavior-13th-Stephen-Robbins/dp/0136007171 ) only 30% is dictated by your surroundings.

      Studies conducted on twin brothers separated at birth tend to conclude that most twins will end up with similar skills, jobs and interests. It's not overrated, it's fact... The book is actually quite interesting, I advice you to read it if you can get your hands on it.

    4. Re:heart's in the right place, but by Toam · · Score: 5, Insightful

      Is computer literacy for 14 year olds still an issue? Really?

      I teach at a university. I've noticed this attitude from a lot of senior academics.

      The assumption is that because almost everyone one of them owns an iphone and a laptop, that they are computer experts. However whenever we expect them to do anything work related on a computer (I am talking the most basic of Excel function) they collapse in a heap.

      There is a very serious difference between being able to update your facebook status and being able to do something useful.

    5. Re:heart's in the right place, but by Rakishi · · Score: 5, Insightful

      There is also the interests of the child. A child into technology will take more attention and learn faster.

      You've never taken a water downed school class in anything, have you? Trust me, nothing else saps interest and attention faster.

      I'm very good at math, a prodigy you might say. In elementary school math was only interesting because I got into a contest with a friend on who could finish all the year's homework the fastest. I think it took us two weeks and he was merely good at math. In middle school the class was so mindnumingly boring that I learned calculus just so they could never subject me to another such class. I asked the school, btw, to place me in a more advance class and they basically told me to fuck off.

      Granted, they'll probably just give all the intelligent kids massive amounts of ADD drugs so they don't "act out" is those boring classes. Problem solved as far as the school and parents care.

    6. Re:heart's in the right place, but by Rakishi · · Score: 4, Interesting

      you are insane, i like math, but math homework is the most mind numbingly boring and tedious thing in existence. it is just monotonous repeating the same style of problem over and over...isn't this why they invented computers?

      Thus why we made it into a game/contest. You think mmorpgs are any less mindnumbingly boring and tedious than math homework?

      you needed a better school then.

      I went to a very good middle school, magnet and all that fancy stuff. All that meant was that the administrators had different but even more strict bins they put students into. Can't be too gifted or it complicates their little student filing system and they just can't have that. I'm pretty certain at this point that the better the public school the more bureaucratic the school administrators are.

      Of course, now that No Child Left Behind and standardized testing is king they might want to keep smart kids back just so they raise the test scores.

      i was sent to the high school for math while attending the middle school, and then they paid the tuition for me to go to a nearby university while in high school. and there were about 4 other high school students in my university courses, from other nearby towns. i didn't go to any fancy private school either, i was just in our states public school system.

      So did I although the school wasn't at all happy to do so. Apparently, where I was, a school has to provide education at your level or find/allow means to do so. Of course, proving that you are above what they can provide is where the hiccup is. Apparently, passing the Calculus AP exam in 6th grade makes a case that is really hard for anyone to argue against. That and the school really didn't want the press coverage they'd get if they didn't stop shoving their shitty math classes down my throat.

  2. In some respect, I agree. by McGuirk · · Score: 5, Insightful

    I don't necessarily think that not knowing how to code on a practical level is really necessary for average Joe, but Mr. Young is definitely on the ball about the general idea. I took Computer Science in High School it was my major for my first year in college. It definitely changed the way that I think about complicated things and go about attempting to solve a problem.

    Then again, perhaps it is just certain types of thinkers that are attracted to coding and actually doing it just helps hone this type of reasoning.

    1. Re:In some respect, I agree. by schroedingers_hat · · Score: 4, Insightful

      Instead of teaching programming, like you say maybe teach about problem solving? Oh wait that is called being logical! Oh wait maybe that can be called logic and is, I don't know, part of the MATH curriculum! I don't think learning how to program, for everybody, is a good idea.

      Far too little problem solving and critical thinking is taught in the maths classroom these days.

      1) What language? Unless you decide to keep up in programming languages whatever you learn is going to be completely and uterly useless.

      Irrelevant. The skills are almost entirely transferrable. Unless you got to an extremely esoteric language like APL or brainfuck, anyone with a good understanding of one language will be able to learn a language with a similar purpose very quickly.

      Going from scheme to assembly may be a bit of a stretch, but learning any language that vaguely follows the style and syntax of C (I am including everything from the more high level parts of some assemblies to javascript here) will give a large headstart towards learning any other.

      There is a reason pedagogical languages exist, after all. For a beginner, one of these, or any high level language is probably appropriate as a tool to teach logical thinking.

      2) What paradigm? Once you have decided on a programming language are you going to teach via an IDE? Text editor? How about file system communications? Database? Complications, complications, complications...

      Again, these are details that don't matter. It's like saying 'what do we teach them maths with? A pencil? Or pens? What model of caclulator?'

      As long as you don't pick something entirely esoteric, or bore them with too much low level stuff too soon, it's fine.

      One could even make an argument _for_ an otherwise useless and obscure language. This would help kerb plagiarism, or at least force the plagiarist to understand both languages well enough to port some code (a useful end in itself).

      I help my niece with her math and my biggest beef today is that you have history, or philosphy folks teaching math. You can teach math and science in two ways. The first and this is what I fear is happening all too much is to teach via remembering the formulas and solutions. This achieves nothing and leads the problems in computer science and science we have today.

      Here, I agree. And perhaps one way of getting more teachers that are competent in logic and mathematical thinking is to try and interest students in such matters? The path to a useful knowledge of mathematics is long and arduous. Many of the obstacles also seem arbitrary, and it is only when one looks down after learning a lot, that the point of it all can be truly understood.

      Even then, the practical use of it is limited to a few scientific disciplines where the tools are not already available in a packaged and easy to use form.

      Mathematical knowledge for its own sake is a wonderful thing, but it is difficult to convince other people of its worth.

      The second approach and this is more difficult since it requires an innat understanding of math and science is to teach it in the abstract. I teach math to my niece in the abstract and she GETS it (when she pays attention). I try to get her to understand why the formula she just learned is actually created and what purpose it serves. I get her problem solving skills involved! Oh wait is that not what you try to do with programming?

      I would not call understanding the reasoning rather than accepting a formula as gospel abstract. Abstract is where you investigate something without grounding in reality or practicality. Either way, these are skills that are woefully under-taught in today's schools. Mathematics is 'taught' in such a way that getting the answer is considered more important than learning to think.

      Perhaps programming is a good way to encourage these skills where other methods have fai

    2. Re:In some respect, I agree. by TheRaven64 · · Score: 4, Insightful

      If I was employed with manual labor, as I assume is the case of the majority of planet Earth's total workforce, my programming skills would be reduced to a hobby with no practical value.

      The world is a red herring there. Ask about the EU or USA, and you'll find that the vast majority are not employed doing manual labour. It's increasingly cheaper to replace manual workers with machines - they make fewer errors, don't need to eat or sleep, and can work around the clock. With machines like concrete extruders, even builders (which hung on for a while because of the large amount of individual decision making required) are likely to see a reduction in workforce. People always say that plumbing is a safe occupation because it can't be outsourced, but how much of a plumber's work could be done by a small robot that crawled through the pipes and had a glue gun for repairing damage and a drill for removing blockages?

      A large part of the general population has absolutely nothing to gain by knowing how to program

      Really? I'll give you a counter-example. My stepfather is the head greenskeeper on a golf course. Hardly a job that requires programming, right? Well, except for the fact that the irrigation system that they installed a few years back is completely computer controlled. It comes with a little domain-specific language that lets you write simple programs that set the conditions that will trigger each of the sprinklers. But, of course, he's just doing a low-skill job, he doesn't need to know any programming...

      For more general usage, try watching pretty much any office worker at his or her computer for ten minutes. You'll find it a painful experience: so many things that are trivial to automate are done by hand on a daily basis. A basic understanding of programming and half an hour with the VBA documentation in Word would save huge amounts of time every day. But, of course, they're just doing administrative work, they don't need to know any programming...

      --
      I am TheRaven on Soylent News
  3. Engineering would be a better thing to learn by digitaldude99 · · Score: 4, Insightful

    The world doesnt need any more programmers. I should know, I have been looking for a programming job for ages and no one will give me a job. On the other hand, there is a shortage of engineers. In the oil industry there is a dire shortage of engineers, anyone qualified as a chemical engineer can command a good salary, yet strangely all the univerisity courses on this in the UK are being closed down in place of non vocational courses. No one in the media or government seems aware of this. Instead of all these shows on TV telling people what a good idea it is to try and be a pop star or super model, they should have shows encouraging people to take up more practical professions.

  4. Yet the majority of us are entirely dependent on a by emilper · · Score: 4, Insightful

    Programming is a calling, not a profession. Let them try programming as soon as possible, get those with the calling identified and cultivate their ability.

    Yes, most of them probably won't get a CS degree ... so what ? Domain knowledge is as important as knowing algorithms, if not more important. There is need for accountants-programmers, linguists-programmers, geologists-programmers etc. Computer Science degrees are for those that want to write compilers, operating systems, new DB engines, routing algorithms etc. For the rest, the (probably innate, not educated) ability to stay stuck to a chair 10h/day running lines of code in the virtual machine in your head and having fun while doing it, logical thinking, basic algorithms and domain knowledge are more important.

  5. Re:In principle, yes. by SuricouRaven · · Score: 4, Insightful

    Or the other end: They all get lessons covering only Visual Studio and .NET, or making iOS apps in xcode, because Microsoft or Apple respectively offers a massive discount and almost-free support to schools to make sure the programmers of the future are their customers of the future too.

  6. Nice in concept. by lattyware · · Score: 4, Insightful

    I love the idea, because I would have loved it, however, one has to remember that not everyone loves programming the way we might do.

    I think that courses should be offered earlier and in a much more useful form, and definitely some programming and CompSci theory should be put in the curriculum to give an understanding, but for the average person, deep programming knowledge isn't the main thing needed. Definitely giving people the chance to learn if they want to is very important.

    I think the more important thing is to teach basic logic and debating skills at a young age. People really lack basic skills like spotting logical fallacies and following an argument. I think teaching some formal logic at a young age would really increase political participation, increace scientific and computing ability, lower people falling for scams like phishing, and increase general learning ability.

    --
    -- Lattyware (www.lattyware.co.uk)
  7. Programming will become the new Shakespeare by jholyhead · · Score: 5, Insightful

    Do we want a generation of kids to grow up despising programming and programmers? Look at what the education system does to English Literature, Maths and Science.

    Kids grow up loathing Shakespeare because it isn't taught in the same context that it was written for. Kids grow up to hate maths because they've been force fed the mundane basics since they were 5. Do we honestly think they'll do a better job with programming?

    I'm all for a more thorough coverage of Comp Sci and ICT - of which programming is obviously a part, but it should be weighted to play to the strengths and interests of the individual students. Some students will take to programming, others to graphics and animation, but as soon as you start making stuff compulsory, you find yourself forced to water down the content and you end up sucking the joy out of it.

    Those of us with Comp Sci university backgrounds will probably remember how miserable those students who didn't 'get' programming were. Do we really want to do that to kids?

  8. I missed something by gmhowell · · Score: 5, Insightful

    I missed why this should be mandatory. I missed why we should attempt to educate kids who cannot read, do simple arithmetic, identify their MP (the writer is from the UK). I'm guessing this author grew up in a mostly white, middle to upper class area, knows mostly white, middle class people, and thinks the most pressing issues are the ones facing white, middle class people.

    --
    Jesus was all right but his disciples were thick and ordinary. -John Lennon
  9. Teach basics of Computer Science! by Cyberax · · Score: 4, Insightful

    What I'd really want is for schools to teach the basics of computer science. So that everybody at least knew what the word 'encoding' means when applied to information, what digital data is and why it's different from analog signals, etc.

    It'd definitely cut down the number of people sending screenshots in JPG and bying Monster HDMI cables.

  10. Re:Totally agree by Tom · · Score: 4, Insightful

    Most of inefficiencies don't need a new system. They just need people to be better users.

    Here's a thought experiment. Teach all the secretaries in your company the 20 or so most important keyboard shortcuts. I guarantee you a measurable improvement of output.

    No programming knowledge needed.

    --
    Assorted stuff I do sometimes: Lemuria.org
  11. The whole idea is stupid... by beh · · Score: 4, Insightful

    As a software developer, I can see where the call for that comes from - but it's just about as misplaced as it could be. Software developers aren't the 'standard' the rest of the world should orient themselves by.

    Developing software is a great skill to have if you're a software engineer -- not sure whether it's a waste of time if you plan to become, say, a doctor, a plumber, etc...

    There are very few skills that _everybody_ needs to have for their normal day to day lives - developing software isn't one of them. Giving kids an idea of what is part of it may be a good idea, i.e. a basic understanding of how computers work. Coding skills on the other hand - not so sure; particularly - who knows what language and what paradigm will be 'state of the art' by the time the kid finally gets to use his/her development skills on. Picture it from this side - when I went to school, programming courses looked at BASIC and Pascal. Nice languages - for teaching - but I'm not sure whether it will really prepare you for coding C/C++, Java, Perl, Python, Ruby, ...

    Do you really think that it makes sense giving someone much of a development course in something that may be outdated a few years later? I didn't really like history lessons, biology lessons, ... But I'm sure most of the history being taught is still the same; most of the principles of biology are still intact, ... On the other hand - one of the things we learned about in school was some of the hardware: anyone still remember what a ULA is? Or the practical knowledge of how to hook up a tape deck to a computer? ... punch cards?

    Development classes and paradigms are too specific a skill for a mandatory course to be forced on everyone.

    1. Re:The whole idea is stupid... by robthebloke · · Score: 5, Insightful

      not sure whether it's a waste of time if you plan to become, say, a doctor, a plumber, etc...

      A librarian with programming knowledge would be snapped up immediately (since most libraries are being forced to digitise their collections).
      Someone who can speak arabic would be much better writing an english -> arabic translator than the vast majority of programmers.
      If you're writing animation software, an animator who can program is much more valuable than a programmer who knows nothing about animation.

      That's really the problem with recruitment though isn't it? There are plenty of programmers around, however there are very few people with (insert relevant skill here) who can actually program! Since CS tends to be the place where most people learn programming, how is that going to help us recruit a biologist with programming experience? Exposing children to programming at school gives them a chance to specialise in a subject other than CS, and still have a chance at employment as a programmer in the future....

    2. Re:The whole idea is stupid... by khr · · Score: 4, Insightful

      As a software developer, I can see where the call for that comes from - but it's just about as misplaced as it could be. Software developers aren't the 'standard' the rest of the world should orient themselves by.

      In junior high, even though I was already planning a career in computers, I still had to take shop class, something I didn't plan to really use. Still, I learned a bit about using some of the basic tools that might be around the house to get some tasks done with them. While my woodwork would probably never measure up to professional standards, I can probably do a few things if I need to for myself.

      The same could be said for computers. Even those who don't plan to become professional software developers could still use the skills learned for better use of a this other tool that's likely to be around the house...

    3. Re:The whole idea is stupid... by FireFury03 · · Score: 5, Insightful

      As a software developer, I can see where the call for that comes from - but it's just about as misplaced as it could be. Software developers aren't the 'standard' the rest of the world should orient themselves by.

      Developing software is a great skill to have if you're a software engineer -- not sure whether it's a waste of time if you plan to become, say, a doctor, a plumber, etc...

      There are very few skills that _everybody_ needs to have for their normal day to day lives - developing software isn't one of them.

      Whilst I agree with you that software development isn't a mandatory skill for all careers, I do think that it would be a good idea to give people a mandatory introduction to it at school and then allow them to opt to do it in the later stages of school. Remember that there are mandatory classes in many "non-essential" subjects already - why is it considered a good idea to teach kids art, music, geography, history, engineering (aka "technology") but not software development?

      When I was doing my GCSEs (a little under 20 years ago), I ended up doing art and geography as my optional subjects. That wasn't because I thought they were interesting or useful (I firmly believed, and still believe that they were the most boring wastes of time I've ever encountered and have done nothing to usefully improve my education). Computer science wasn't available either as a mandatory or as an optional subject. As far as I know, it still isn't, 20 years later (yes, there are now useless "computing" classes that teach you how to use Word - something that maybe you could dedicate a lesson or 2 to, but I honestly don't see how you can fill an entire subject with that).

      In fact, I would go so far to say that a rudamentary understanding of how software works (not just how to use it), would be far more useful to most people than the likes of art, geography, etc. Even if you're not going to have a career in computing, you're still almost certainly going to use computers and have to interact with techies, so having at least some understanding of how they work is helpful. I don't subscribe to the idea that understanding beyond the level that you are working at isn't useful - if you're writing software in assembly language then it helps to have an basic understanding of the physical chip design; if you're writing software in C it helps to have a basic understanding of the instructions that code will be compiled to, as well as how the operating system is going to handle your system calls; by extension, if you're using computers (and people from all areas of life do this, including doctors, company directors, etc.) then it helps to have a basic understanding of how the software actually works.

      particularly - who knows what language and what paradigm will be 'state of the art' by the time the kid finally gets to use his/her development skills on.

      I fundamentally believe that we shouldn't be teaching languages just because they are currently in use or state of the art. When I was doing my A levels and later when I was doing my degree, basic procedural programming was taught using Pascal, because it happens to be a reasonable teaching language. It is, however, a language that isn't really used in industry, but that doesn't matter because once you've understood the basics of programming, picking up a new language is easy. These days, the university I studied at has switched to using Java to teach basic programming skills, because industry alledgedly wants Java programmers. Java is a pretty horrendous language to use as a teaching language for people who have never programmed before, so it fails at that point. Even if industry does want Java programmers now, they probably won't in 10 years, so using that as the foundation for a degree seems daft.

      As a company director myself, I don't want programmers who know a single specific language - we use a variety of languages (Java is not one of them), and which languages are used periodically

    4. Re:The whole idea is stupid... by gtbritishskull · · Score: 4, Interesting

      I am an engineer who programs. I do automation. Most of my time is spent programming, but I would not have this job if I were not an engineer. The working conditions are great. Job satisfaction is pretty good. Not a girl, so don't know about sexual harassment, but have not seen any in my office (but there are not any female engineers). We outsource the gruntwork, but then the program has to be fixed, tested, and installed. If my boss could outsource my job he would (not because he is a dick or anything but because he is a businessman and is not going to give me charity) but he can't. Your life sucks because you don't have a useful skill to leverage with your programming, so you are a commodity. The point is, as you seem to agree, that people should not become just programmers. Programming should be a skill, not a job. Everyone should learn to program, just like everyone needs to learn to write. I write emails all day long (or at least it seems like it), but my career is not writing. My value add is engineering, which I leverage with my programming and writing skills. There are very few professions that I can think of where your worth does not increase dramatically from knowing how to program.

  12. Programming is part of a well-rounded education by cdecoro · · Score: 4, Interesting

    A lot of people here make a good point that is, however, not relevant. Namely, that "we don't need more programmers." I'm inclined to agree, especially hearing from friends about how difficult the job market is for many of them. However, this criticism misses the point: we want to teach those that *aren't* going to programmers, in order to provide them with a well-rounded education.

    Most of the people that are taught algebra (or any math above basic arithmatic) will never use it in their work, much less be mathematicians. Same for a foreign language, or history, geography, chemistry, physics, etc. For that matter, it is completely irrelevant to the lives of the vast majority of people whether humankind developed after billions of years of evolution, or created in a day. Yet I don't see many slashdotters arguing in favor of those religious groups that don't want to teach accurate biology. Children should be given exposure to as much information and knowledge as possible, to make them better informed and educated adults. What they do with it then is up to them.

    Other countries do a better job producing more well-rounded students. Let me give an example: A German friend, a Ph.D. student in comparative literature, asked what my CompSci Ph.D. thesis was about. I said "mathematical integration," and asked her if she was familiar with the term (from experience, most Americans without science backgrounds are not). "Obviously," she said "I did graduate from high school, you know."

    Apparently, in Germany, everyone at university-bound high schools takes calculus. It's just expected. It doesn't matter if they're going to be in science or math. It is taught in case they might use it, and so that they can be generally more-knowledgeable people. The same, in my view, should apply with programming. It teaches rigorous, formal thinking skills, something that is sorely lacking in American academia.