News for hackers. Stuff that matters.
Re:Interview by a 15 Year Old by kercker on Saturday November 07, 2015 @11:32AM (#10525228)
"I think all kids should learn how to program at some point. I'm not sure what's the right age." I do not think all kids should learn how to program. I think programming is just one of many skills that one can master, not a must-have skill.
Re:Interview by a 15 Year Old by JoshTriplett on Saturday November 07, 2015 @01:13PM (#10525627)
At one time, not everyone automatically agreed that everyone should learn to type, or learn basic computer literacy. Or to look back even further in history, at one point not everyone could read and write.

Imagine if we could expect a basic level of programming skill from everyone. Not the ability to write an operating system kernel from scratch; just the ability needed to put together a shell pipeline to get a job done, or a twenty-line script to automate some tedious task. Imagine how much that would change everyday life.

How would mass-market applications change if a tiny bit of scripting skill wasn't too much to ask? How would people's behavior change if their first reaction to any kind of tedious task was "I should automate this", and sometimes they actually could? How would public policy (especially on technology) change?

We're moving towards a future run heavily by computers; raising the baseline level of understanding seems critical to me, and it doesn't seem like too much to ask.

Re:Interview by a 15 Year Old by DanBC on Saturday November 07, 2015 @01:23PM (#10525662)
> Or to look back even further in history, at one point not everyone could read and write.

We still have that, in 1st world countries. (I've used the wikipedia entry for the US, but rates are similar across EU)

https://en.wikipedia.org/wiki/Literacy_in_the_United_States

> This government study showed that 21% to 23% of adult Americans were not "able to locate information in text", could not "make low-level inferences using printed materials", and were unable to "integrate easily identifiable pieces of information."

Re:Interview by a 15 Year Old by mikeash on Saturday November 07, 2015 @05:50PM (#10526542)
I wonder, would those people be able to do those things if the information were presented by spoken word? I suspect (and could be way wrong, of course) that this is more about ability to understand stuff in general, and not really related to being able to read and write.
Re:Interview by a 15 Year Old by larrys on Saturday November 07, 2015 @03:05PM (#10526020)
"just the ability needed to put together a shell pipeline to get a job done, or a twenty-line script to automate some tedious task. Imagine how much that would change everyday life."

Well unfortunately like learning a foreign language if you don't constantly use those skills they are near worthless. Especially as you get older. And in one way it's quite a bit different than learning a foreign language. There is a great deal of latitude to make mistakes in, say, Spanish. If you don't have it even slightly correct people can still piece together what you are saying. With programming as everyone knows it's got to be near 100% accurate in syntax or it's not going to run and/or give correct results. I agree that being able to do things in the shell is helpful if you are somewhat regularly doing that type of work. I question how useful it is if someone learns that in high school or college and then needs to apply it to do a task years down the road.

Edit: In other words it's not like learning how to ride a bike or play tennis.

Re:Interview by a 15 Year Old by SixSigma on Saturday November 07, 2015 @04:32PM (#10526321)
Add into that, when I was at school I learned to code on a Research Machines 380Z in C/PM.

https://en.wikipedia.org/wiki/Research_Machines_380Z

Then a ZX81, then a BBC Micro

What would now be utterly useless skills if I was suddenly in need of adding some code to my work years later.

Ten years ago AJAX was just appearing [1], Web 2.0 was the buzz, and the iPhone was 2 years away. What would you teach kids today to equip them for their work in 2025 ?

[1] http://www.quirksmode.org/blog/archives/2005/11/javascript_a...

Re:Interview by a 15 Year Old by mikeash on Saturday November 07, 2015 @05:52PM (#10526543)
Could this be an argument for making computers harder to use by requiring programming for common tasks?
Re:Interview by a 15 Year Old by choxi on Saturday November 07, 2015 @11:53AM (#10525293)
I assume PG meant that every kid should learn how to code like every kid should learn how to write, not that every kid should become a professional programmer or writer.
Re:Interview by a 15 Year Old by kozukumi on Saturday November 07, 2015 @11:59AM (#10525321)
Even then I don't really see the point. If you want to teach kids problem solving skills, logic, breaking down a problem, etc. then that makes much more sense as it is applicable in many areas of life but spending an hour a week for several months teaching a kid how to make a little game in Python isn't really going to benefit them at all in the long run in my opinion.
Re:Interview by a 15 Year Old by moonchrome on Saturday November 07, 2015 @12:18PM (#10525398)
>If you want to teach kids problem solving skills, logic, breaking down a problem, etc. then that makes much more sense as it is applicable in many areas of life but spending an hour a week for several months teaching a kid how to make a little game in Python isn't really going to benefit them at all in the long run in my opinion.

I'm willing to bet it will do more good for 90% of them than learning about Chemical Bonds, Hooke's law, solving quadratic equations, enumerating mass movement processes in geography, memorizing historic time periods, reading Dostoevsky/Kafka and whatever other nonsense we were supposed to learn during high-school education that I can guarantee you 90% of my peers (myself included) couldn't answer even at a basic level even if they passed an exam on it at some point with great scores.

Almost every office job I can think of can benefit from familiarity with programming concepts - not even knowledge - just a basic familiarity - enough so you can reason trough a simple SQL query or write a non trivial excel formula.

Re:Interview by a 15 Year Old by sacado2 on Saturday November 07, 2015 @01:19PM (#10525648)
This. Plus, it has the virtue of teaching you logic and rational thinking, which is something useful in every field of life, not only programing.

Plus it makes computers less frightening and magical since you have a bit of understanding of how they work.

Re:Interview by a 15 Year Old by buckpassing on Saturday November 07, 2015 @03:33PM (#10526120)
as I understand you, you think learning a programming language will do more good for 90% of students than being exposed to chemistry, physics, algebra, history, literature, and whatever other nonesense, which I take you to mean other things commonly studied in high school like art, psychology, a foreign language, economics, etc.

where, may I ask, did you ever hear about Hooke's law, chemical bonds, quadratics or Kakfa? You're reference to these things, in the hopes they'd support your rather silly claim, shows that a multi-faceted education is a good thing. If you weren't the recipient of such an education, you couldn't prove your point.

problem solving, logic, etc can be taught outside of programming. I was taught first order logic through a philosophy course. it seems like you think programming can teach you all the important forms of reasoning.

Re:Interview by a 15 Year Old by moonchrome on Saturday November 07, 2015 @05:56PM (#10526559)
>If you weren't the recipient of such an education, you couldn't prove your point.

Or I could have just googled "spring physics" as that's one of the few things I vaguely remember from highschool, named Kafka because that's one of the only two books I've actually read before deciding literature is boring/waste of time, chemical bonds - the same thing as "spring physics" and quadratics I actually needed in my day job which is why I said 90% - this kind of knowledge can be easily acquired if you need it.

Majority of that "multi-faceted" 4 year curriculum ended up being a waste of time, and ironically I am probably in the top % of my peers in the amount of knowledge I retained.

On the other hand basic programming is about as enabling as knowing how to do basic probability calculations or writing in formal tone. I never argued about first order logic or learning reasoning so I don't know why you're bringing that argument up - I said that basic programming lets you do stuff that's useful in majority of office work - it helps analyze/transform/collect data and interact with software in a more productive manner. You don't even need to learn programming just going trough the process should give you some insight so when you encounter a problem you can know what to search for and go trough the motions to use an existing solution (eg. knowing how to run a script you downloaded because you know what a script is and what it's supposed to do, or knowing how to modify some formula/query even if you couldn't write it from scratch)

Re:Interview by a 15 Year Old by buckpassing on Sunday November 08, 2015 @01:22PM (#10529280)
"that's one of the only two books I've actually read before deciding literature is boring/waste of time"

man i feel so sorry for you. its amazing how sweeping ignorance is so easily transformed into arrogance.

Re:Interview by a 15 Year Old by moonchrome on Sunday November 08, 2015 @01:59PM (#10529398)
Don't be, I learned trough being pushed in to art classes from young age that most of "high culture" boils down to pretentious people trying to show how superior they are to uneducated plebeians.
Re:Interview by a 15 Year Old by vlehto on Saturday November 07, 2015 @06:08PM (#10526589)
>can reason trough a simple SQL query or write a non trivial excel formula

I can't do that.

I have written few very basic python/java programs (maybe 200 lines max, very poor irc-bot was my triumph). And at the office I'm the local computer guru. "Let me show you how you can search a string in excel. Note that big and small letters aren't always the same thing." I shit you not.

I think over-learning this stuff really doesn't hurt. Maybe people would grasp what is easy to program and what is difficult. These days you sometimes run into attitudes like "we could ask this SQL data as excel chart, but it's probably ten thousand dollar coding project. So we don't even ask."

Re:Interview by a 15 Year Old by moonchrome on Saturday November 07, 2015 @06:31PM (#10526665)
>I can't do that.

If you know enough programming to write a IRC bot I think you can.

I'm sure you'd figure out how to get data out of some Access like tool - eg. ERP system with tool to build custom query/reports, and I doubt you would have a hard time writing excel formulas with conditions and such.

Seeing how you used python if you found a script online that say converted some files you would know how to run that.

I'm not saying everyone needs to be a programmer but knowing the basics actually enables you to use computers much more efficiently and considering that computers are used literally everywhere nowdays it translates to productivity and real world problem solving.

Re:Interview by a 15 Year Old by vlehto on Saturday November 07, 2015 @06:52PM (#10526737)
Given lots and lots of time, sure. :D

I have to admit that so far I have been completely unable to use my coding skills for anything practical. There would have been a situation where HTML chart had to be converted to excel chart. It was way too corrupted to automate in any meaningful way.

But coding gives me perspective. If somebody tries to sell software at my job, I get to interview them. Nobody else there is quite as good at spotting computer related bullshit.

Re:Interview by a 15 Year Old by scrollaway on Saturday November 07, 2015 @12:22PM (#10525419)
You don't see the point in teaching kids the fundamentals of how every machine in their life works?

Media and politicians right now are abusing the fact that a large amount of the population is tech-illiterate. People can't comment on issues that affect their lives in major, invisible ways because they don't know the implication of, say for example, banning encryption (cf. uk politics currently).

This has to change and it starts with education.

Re:Interview by a 15 Year Old by vezzy-fnord on Saturday November 07, 2015 @02:18PM (#10525857)
Learning an ALGOL-like notation doesn't magically make you competent to speak of cryptography. In fact, it almost by definition does not teach you the fundamentals.

There's no reason to believe programming classes will be at all useful for anything, other than to impart false knowledge.

Re:Interview by a 15 Year Old by Retra on Saturday November 07, 2015 @12:20PM (#10525409)
That is the point: to teach problem solving skills. Programming practice buttresses mental modeling techniques and helps one imagine realistic solutions to technical problems.

There is another goal though, and it mimics writing. If only the 'elite' know how to write, then history will be written by the powerful. If everyone knows how to program, this increasingly popular communication medium will be less under the control of a biased few.

Re:Interview by a 15 Year Old by weaksauce on Saturday November 07, 2015 @12:06PM (#10525357)
perhaps it will shape how they see programming in general. I would rather have a manager that had a reasonable knowledge of how difficult programming is so that reasonable expectations can be made about schedule and budget.
Re:Interview by a 15 Year Old by amelius on Saturday November 07, 2015 @12:17PM (#10525391)
> I would rather have a manager that had a reasonable knowledge of how difficult programming is so that reasonable expectations can be made about schedule and budget.

True. But the trouble with programming is that once you have the basic skills, you start thinking that anything is possible. Yet, the real problems start knocking on your door when you want to build large real-life long-lived systems with changing requirements.

Take for instance the issue of "technical debt" or "code rot". Someone who has had just a little exposure to programming might say that those issues don't exist (how could code "rot"?), whereas a manager with no programming experience will more easily accept them as part of life.

Re:Interview by a 15 Year Old by kozukumi on Saturday November 07, 2015 @12:15PM (#10525386)
You can make that argument about every type of work.
Re:Interview by a 15 Year Old by eropple on Saturday November 07, 2015 @12:56PM (#10525567)
How about Excel?
Re:Interview by a 15 Year Old by gaius on Sunday November 08, 2015 @05:30AM (#10528139)
I say this every time "learn to code" comes up, kids should learn to cook. People who can cook a meal from basic ingredients are healthier (than they would have been living on ready meals and takeaways), wealthier because it's cheaper, more relaxed because they have a hobby and more attractive to whatever is the gender of their preference.

Humans have been cooking for thousands and thousands of years, but modern schools have no idea how to teach it, hence the epidemics of obesity, diabetes, etc. So how on Earth can they teach anyone to "code" and should that reallly be priority?

Silicon Valley VCs want everyone to learn to code because it'll be cheap grist for their mill...

Re:Interview by a 15 Year Old by tempestn on Sunday November 08, 2015 @06:16AM (#10528195)
I agree with you in general that coding (unlike critical thinking and logic, as discussed above) is not a necessary skill. I think the last sentence is uncharitable though. At least in the case of pg, I'm pretty confident that his desire for everyone to learn to code is purely altruistic, springing from the fact that programming ability was a massive positive factor in his own life, as well as those of most people he knows. More, I expect that most VCs, like most people, are generally decent human beings, and therefore their motives are likely not to be purely self-centered. I'm sure there are some sociopaths out there who only care about building their fortunes, but most who advocate learning to code probably legitimately believe it's a good idea. (And honestly, it IS beneficial to learn to code; just not as vitally important as it is sometimes portrayed.)
Re:Interview by a 15 Year Old by aianus on Sunday November 08, 2015 @07:26AM (#10528311)
You can code for $60/h and pay $5-$10 of that to someone else to cook a meal for you and clean up too. Why on earth would you want to be the latter guy?
Re:Interview by a 15 Year Old by Scea91 on Sunday November 08, 2015 @09:55AM (#10528614)
If everyone can code you won't code for $60/h
Re:Interview by a 15 Year Old by aianus on Monday November 09, 2015 @08:10AM (#10532801)
If everyone can code we will automate the economy to such an extent that goods and services will be practically free.
Re:Interview by a 15 Year Old by lentil_soup on Sunday November 08, 2015 @07:53AM (#10528349)
because you like cooking more than coding?
Re:Interview by a 15 Year Old by ageofwant on Sunday November 08, 2015 @05:46AM (#10528162)
> Silicon Valley VCs want everyone to learn to code because it'll be cheap grist for their mill...

Too right. I've yet to read one of these that acknowledges that.

Re:Interview by a 15 Year Old by jonesb6 on Saturday November 07, 2015 @02:25PM (#10525875)
Honestly I think you have to take it into the current context. Off the top of my head if I had to give the best method for raising you socioeconomic class in the United States it would start with either "Start your own business", or "learn to program".

That said I'm still on the tutoring mailing list for my university's C.S. department, and so many people jump into it and then fall off a cliff. We are forcing an entire generation into field that many will not be successful in.

IMO we're pushing a mass of people in a direction with peaks, valleys, and cliffs, without taking responsibility for the numerous negative outcomes that will ensue.

"But we need more people in STEM!"

"But not everyone wants, or will excel in, STEM!"

"..."

Re:Interview by a 15 Year Old by rustynails on Saturday November 07, 2015 @03:53PM (#10526184)
The good thing is that most kids will reject a career path placed on them. My older but young child does not have my love of software development but loves mechanical and electrical design. He 'hates' programming. My other slightly younger child loves writing stories, although he is gifted (as per WISC) with mathematical reasoning (if I recall the term correctly). He has shown a natural understanding of programming, but no interest. I consider his thinking much broader.

I love my kids different interests. I think the 'learn programming in school' is highly overrated, unless it's a component of something bigger eg. Logic, technology).

Re:Interview by a 15 Year Old by davidgerard on Sunday November 08, 2015 @09:40AM (#10528578)
I think it's really important that kids learn the concept of programmability: that all of this is just instructions. This is not a widely-known thing!

In the UK, all children are now expected to learn coding in school. What this actually means is putting 7-8 year olds in front of Scratch. AND IT WORKS REALLY WELL.

Writeup of my daughter's experience: http://reddragdiva.tumblr.com/post/127964136013/it-turns-out...

There's been a zillion simplified languages intended to get kids coding, but Scratch appears to be the one that works.

She's one of the academically-bright ones, but I asked her teacher about it and he said the average ones and the academically-bad ones also like Scratch. So it's doing job number 1 right: get the kid actually interested.

Re:Interview by a 15 Year Old by lordnacho on Saturday November 07, 2015 @12:18PM (#10525400)
I think it's like learning an instrument. It's a thing you should do so you know it's there and you appreciate it's a very deep (and hopefully interesting) space. If you don't like it, no worries.
Re:Interview by a 15 Year Old by nether on Saturday November 07, 2015 @01:33PM (#10525700)
I don't think programming should crowd out interaction with other kids and with the natural world, per https://news.ycombinator.com/item?id=10188796. Also consider the practice of Waldorf schools, whose students include many Google kids, which discourage computer use until 8th grade: http://www.nytimes.com/2011/10/23/technology/at-waldorf-scho...
Re:Interview by a 15 Year Old by vdaniuk on Saturday November 07, 2015 @12:02PM (#10525340)
>I think programming is just one of many skills that one can master, not a must-have skill.

Programming/coding/software engineer is, probably, the only skill that provides high income opportunities, freedom to relocate, a global market and low financial cost of entry. Unless a kid is coming from a rich family, learning programming among other skills is her/his best bet at achieving a decent quality of life.

Also, saying that programming is just one of many skills is like saying that communication and persuasion is just one of many skills. Just as "people" skill, programming skill is a powerful multiplier.

Re:Interview by a 15 Year Old by notahacker on Saturday November 07, 2015 @12:18PM (#10525401)
Most white collar professions in the developed world offer high income opportunities, freedom to relocate, global markets and low financial cost of entry without having high-school level programming skill or wealthy parents as a baseline requirement.
Re:Interview by a 15 Year Old by vdaniuk on Saturday November 07, 2015 @12:24PM (#10525425)
Your argument doesn't match my observations of the current job marketplace in developed countries and is in conflict with most predictions of future.
Re:Interview by a 15 Year Old by eropple on Saturday November 07, 2015 @12:57PM (#10525570)
Many (not all, of course) of them do require significantly more up-front investment, though. Not disagreeing with you, but there are complicating factors.
Re:Interview by a 15 Year Old by staticint on Saturday November 07, 2015 @11:23PM (#10527472)
It seems unlikely to me that future generations will be able to benefit from programming understanding and ability the way the programmers of today have. Economic value lies in scarcity, and as we are now pushing for everyone to have those skills, it will not be scarce anymore.

The programmers of today have been lucky because the thing they loved to do anyway just happened to explode as an industry in a short period of time, leaving only a small supply of labour ready to fill the ballooning demand. There is no reason to think that will hold for the future. As every good investor will tell you, when everyone starts looking in the same direction, it is time to run the other way.

Some suggest that programming is something that only a small group of people can innately do. Others suggest that it is a task that the majority of the population detest. If these are true, then perhaps it will remain a viable career as most cannot or refuse to do what work needs to be done. I'm not sure I agree with either point. Programming tools like Excel are widely used already by the general population, demonstrating that they can program, that they are willing to program in some capacity, and that it doesn't meaningfully improve their economic standing when outside of a very narrow spectrum of programming – specifically what we seem to call software engineering.

I, personally, think programming related work will eventually trend towards what we see in entertainment, agriculture, etc. A small group of people will do very well, more will do the work for practically nothing just to do what they love, and everyone else will have no direct opportunity whatsoever, with, at best, passing relevance in what they do end up doing.

Re:Interview by a 15 Year Old by Alex3917 on Saturday November 07, 2015 @12:27PM (#10525436)
> I think programming is just one of many skills that one can master, not a must-have skill.

For a fifteen year old kid these days, if you graduate from college not knowing how to program then pretty much you are going to have a shitty life. You already need to know how to code to get pretty much any decent job -- not just for web developers, but also for marketers, designers, data analysts, biologists, filmmakers, finance, advertising, manufacturing, transportation, etc. You don't have to be a professional developer for your entire career, but if you don't know how to code then even if you want to go into marketing or whatever, pretty much the best job you'll be able to get is just harvesting leads for minimum wage and then entering the data into Excel.

Don't want to learn to code? Doesn't fucking matter, that's what society is willing to pay for.

Re:Interview by a 15 Year Old by dreamdu5t on Saturday November 07, 2015 @12:34PM (#10525470)
Hyperbole. Programming is a fraction of the jobs in this economy, and it's not even the largest employer when it comes to STEM. People in medicine, finance, or small business don't need to code.
Re:Interview by a 15 Year Old by Alex3917 on Saturday November 07, 2015 @12:41PM (#10525496)
> Programming is a fraction of the jobs in this economy

Yeah, but they're the fraction that don't suck and aren't going away in ten years. And again, most people with jobs that require knowing how to code aren't actually developers. E.g. it's difficult to get hired as a customer retention marketer without knowing how to code, but most of those folks also aren't coding on a regular basis, if ever. It's just that when you have 500+ people applying for any decent job, the person who thought it wasn't a good use of their time to spend 3 months teaching themselves to code is almost always going to lose out to one of the other folks who did, just on the off chance that those skills actually come in handy or whatever.

Is it unfair? Maybe. But that's just how it works.

If you were to look at my HN comments from the early days of the site, you'd see that I was pretty much the poster child for saying that learning to code wasn't necessary. And back then I don't think it was, because the tools were so shitty that to be any good at it pretty much meant that you had to forgo being good at anything else, including other skills that were potentially much more valuable like business or marketing or whatever. And it's hard to pinpoint exactly when, but at some point over the past ten years that has definitely changed.

Re:Interview by a 15 Year Old by username223 on Saturday November 07, 2015 @08:38PM (#10527016)
What even is a "customer retention marketer"? Is that the person who tries to prevent you from canceling your Comcast cable when you call Comcast to try to cancel your cable? I guarantee that those people just need to suppress their shame and sometimes pretend not to understand English.
Re:Interview by a 15 Year Old by Alex3917 on Saturday November 07, 2015 @08:48PM (#10527034)
More like someone who is halfway between a data analyst and an email marketer. E.g. they do things like cohort analysis, but also send out email blasts to increase engagement.
Re:Interview by a 15 Year Old by username223 on Saturday November 07, 2015 @09:26PM (#10527138)
So "spammer." Got it.