Live data from Hacker News

Ask HN: What is the most compelling reason young people should learn to program?

news.ycombinator.com

21–30 of 122 posts

Re: Ask HN: What is the most compelling reason young people should learn to program?

#21
Even if a person is not interested in the tech industry, it's still a highly valuable skill.

I know someone who has a lot of tedious work to do. If they could program they'd be able to do it much more efficiently. They can use that time saved to do anything else they want to do, perhaps they could have earned a promotion rather than slaving away on a repetitive task.

The world moves forward through efficiency, and automation is one of the major factors in that.

Re: Ask HN: What is the most compelling reason young people should learn to program?

#23
Programming a computer is a way of thinking. It in some ways involves the same thinking as determining how to break down a mechanical manufacturing process, or parts of team management (sport or industry), or legal arguments, or considering how biology works.

Basic logic is part of this, as is process decomposition, as is just learning a new way of communicating and many other things.

Learning new ways of thinking makes us flexible individuals. It fosters creativity. These are skills we all need in society, but the modern economy especially.

This is actually, I think, a compelling argument (aimed at adults who are deciding what children will do, less so the children themselves) for almost any subject.

Re: Ask HN: What is the most compelling reason young people should learn to program?

#24
post #23

Programming a computer is a way of thinking. It in some ways involves the same thinking as determining how to break down a mechanical manufacturing process, or parts of team management (sport or industry), or legal arguments, or considering how biology works. Basic logic is part of this, as is process decomposition, as is just learning a new way of communicating and many other things. Learning new ways of thinking ma…

And to the kids I say - you can make a videogame. That was always compelling to me, although I knew I'd never be a game developer professionally.

Re: Ask HN: What is the most compelling reason young people should learn to program?

#25
If they want to work with their hands, there aren't many good reasons.

If they want to work with words or numbers, some basic programming will let them automate repetitive tasks and eliminate lots of boring work. Examples include simple calculations in spreadsheets, formatting writing for publication, filing work email, and automating invoices. It's a useful skill like being able to touch-type.

In any case, they should not be forced to program for its own sake, since that has a narrow appeal. Instead, they should program only to do things they actually care about.

Re: Ask HN: What is the most compelling reason young people should learn to program?

#26
For me, it was always simple. Learning to program gives you control over your environment, and in some sense the world. This is more true now then it was when I was a teenager.

For most teens the thing they grate against the most is lack of control over themselves and their direction. Programming puts you back in control. You can make a general purpose computer do anything you can imagine.

Re: Ask HN: What is the most compelling reason young people should learn to program?

#29
Knowing how to write code in any specific language is ultimately a fairly useless skill except in a handful of jobs. Unless you're someone who is either a developer or a spreadsheet user the chances are pretty high you'll sail through life without even seeing a line of code.

However... the parts of programming that are useful to everyone are applied logic, critical thinking, and 'debugging'. Being able to break down a problem, find a metaphor for a problem, evaluate what you know and don't know about a problem, etc are useful skills that apply everywhere, and that programming teaches really well. When something isn't working, being able to ascertain why by changing things one at a time, or by knowing that you can iterate to a solution instead of jumping to the last step, are immensely powerful ways of thinking about things.

There may be other ways to teach those skills instead of abstracting them to programming but I've not encountered any good ones yet.

Re: Ask HN: What is the most compelling reason young people should learn to program?

#30
It feels like a leading question. Using the "should" in that question removes the agency to make that choice from the subject in that question. Arguably, the same question could be asked regarding learning how to play a musical instrument, right? Young people can express their own interests, and it's important to take that into account as well.

So, let's rephrase that question. "What's a reason that might compel young people the most to learn how to program?"

Subtle difference, but makes for a far more interesting debate.

For instance, there will be kids who become inspired by video games and will be wanting to make their own. Some will start to scour the Web for resources and experiment with tools like, maybe, Unity or Godot, on their own. Others might be interested, but be entirely put off by the idea once they realize what the subject matter entails. And that's, actually, totally fine and valid.

Even so, I think general curriculum should at least provide a few lessons of basic computing to anyone. Enough to get everyone the basic idea and demystify what happens behind the curtains in broad strokes.

Post reply on HN