News for hackers. Stuff that matters.
Re:Obama Becomes First President to Write a Computer Program by wyager on Monday December 08, 2014 @08:20PM (#8720351)
Clearly most people are not going to spend a lot of time learning the rigorous theory behind CS, or how to write really high quality software that's meant to be reused.

However, I suspect that coding will become the new literacy. It's becoming an essential life skill, but only a few people need to be really good at it; most people just need a basic functional knowledge.

Re:Obama Becomes First President to Write a Computer Program by cgriswald on Monday December 08, 2014 @08:54PM (#8720481)
Let me disabuse you of that idea. :)

Consider math. It's extremely useful and people need it to properly function in modern life. And yet people are not only terrible at it, but they are proud of how terrible they are at it. They believe (incorrectly) that math is something you "just get" and that it is not a skill that can be learned. To me, those people are illiterate, but the perceived social stigma of being math illiterate just isn't there like it is with actual illiteracy.

So, if math, which is much more fundamental and useful in the every day lives of people isn't the new literacy, I don't think coding has a chance.

Re:Obama Becomes First President to Write a Computer Program by GregBuchholz on Monday December 08, 2014 @09:07PM (#8720532)
What do you think of "Mindstorms" (the book)? One of the themes of that book is that math education has failed most people because of the way it has been traditionally taught (see also Lockharts's Lament). But that computers could provide a new, better way at allowing people/children to learn though exploring simulations. I found it to be really quite the impressive work, and while I began my Logo investigations to teach my kids, I'm now also trying to track down some great looking Logo books from the long distant past, like "Turtle Geometry" by Harold Abelson for myself. Yes, that Abelson.
Re:Obama Becomes First President to Write a Computer Program by Omniusaspirer on Monday December 08, 2014 @10:11PM (#8720771)
>math, which is much more fundamental and useful in the every day lives

I think this statement is only accurate for basic math. Nearly everybody I've known has had a situation where they wanted to code something or wished they knew how. Math is almost the opposite, I've heard more complaints about wasting time on "useless math" than I've heard regret for not pursuing it more. That's not to say they're right, but it's absolutely a strong opinion I've heard from a huge range of people.

I do disagree with the premise of coding being the new literature though (as defined by >99% of the population). Any point where that percentage is reached will be one where programming looks nothing like it does today and has been abstracted to a meaningless level.

Re:Obama Becomes First President to Write a Computer Program by grayclhn on Tuesday December 09, 2014 @04:09AM (#8721800)
I know lots of adults that can't use fractions correctly. I don't know how that fits in with "basic" vs "useless" math, but it doesn't give me much hope for programming (unless, like you said, 'programming' means something like 'using the occasional formula in a spreadsheet')
Re:Obama Becomes First President to Write a Computer Program by baddox on Monday December 08, 2014 @09:03PM (#8720519)
Or, for a much more direct example, just plain old normal literacy.
Re:Obama Becomes First President to Write a Computer Program by meowface on Monday December 08, 2014 @10:54PM (#8720927)
Math is elegant and very useful, but let's face it, for the vast majority of people in the world all math beyond arithmetic serves almost no use. In comparison, programming of any kind can be useful to anyone if they know enough to help automate work tasks, for example.
Re:Obama Becomes First President to Write a Computer Program by omegaham on Monday December 08, 2014 @11:23PM (#8721023)
I disagree, with a caveat: the skills you learn while learning higher math are extremely useful, even if the math itself isn't.

At a fundamental level, math is taking stuff you know and manipulating it into answers to stuff you don't know. That thought process is extremely important. I use it every single day. Sometimes it's intuitive, like saying, "I need to visit five stores today. What's the most efficient way to get there?" Other times it's actual math, like saying, "I need to figure out the most efficient way to tackle my debt."

The list goes on and on. Can I justify buying a new car? Should I go to college? If I were laid off tomorrow, how long could I support my current lifestyle? Even questions that have nothing to do with math such as "How do I replace my brake rotors" require that exact same mindset. Start with the stuff you know, and use it to get answers.

Will you use integration by parts in your job? No. Will the thought process you've cultivated by applying integration by parts on a difficult problem help you? Yes, vastly.

If you don't know math, you might not realize that a lot of these questions have concrete answers that are relatively easy to figure out. You might just wing it or not bother at all. And while that's perfectly fine when you burn another quarter-gallon of gas on your errands, it's not when you're figuring out whether you need to sell your car or how much to save each month for your kid's college fund. Or when you're given shady statistics by a politician. Or when you're offered the Once In A Lifetime opportunity to invest in Amway.

Re:Obama Becomes First President to Write a Computer Program by meowface on Tuesday December 09, 2014 @08:47PM (#8727206)
I see this argument made a lot, but is there really any empirical evidence showing that learning math at the level of calculus and trigonometry gives you better reasoning skills than learning algebra and then stopping? You can be intelligent about efficiencies and calculations without actually knowing much math at all.
Re:Obama Becomes First President to Write a Computer Program by GregBuchholz on Tuesday December 09, 2014 @12:00PM (#8723896)
Is that because we're teaching the wrong kind of math? That society in general has a flawed perception of what math is? Is programming not a form of mathematics? What do you think of Lockhart's "A Mathematicians Lament"?

http://mysite.science.uottawa.ca/mnewman/LockhartsLament.pdf

Re:Obama Becomes First President to Write a Computer Program by aaron-lebo on Monday December 08, 2014 @08:35PM (#8720409)
I disagree. It is great if more people learn it, but it is nothing like literacy. The ability to read and write is something that can help you in every aspect of life, which is why a lot of people pick it up (they use it over and over again). Keep in mind even with this being the case functional literacy is often quite low for many people and true illiteracy is still an issue. Even math past basic arithmetic isn't well-developed, people simply don't use it, despite required schooling.

Are computers everywhere and do people use them every day? Yes. But mechanical ability isn't the new literacy and just as many people interact with engines on a daily basis and would be helped by it in daily life. I think it is much more useful to think of programming like woodworking, leatherworking, sewing, soldering, etc. Very useful skills which can improve your life, but not at all necessary, and "only a few people only need to be really good at it" as you stated.

Re:Obama Becomes First President to Write a Computer Program by lmkg on Monday December 08, 2014 @09:27PM (#8720614)
I think the development of programming literacy will mirror the development of literacy.

Literacy itself used to be a niche skill, learned by a select few who made an earning from it (scribes, criers), while the majority of craftsman got along just fine without it. Then the printing press came along, and it brought a proliferation of readable material, and literacy became useful. Not essential, but useful. People could distribute political literature, or send messages cheaply. Literacy bloomed. And as literacy increased, and became expected, it became essential.

We're at the beginning stage of that now. Somewhere around (probably before) the printing press. Programming literacy is becoming useful, but not yet essential.

Re:Obama Becomes First President to Write a Computer Program by untog on Monday December 08, 2014 @08:54PM (#8720482)
IMO it's somewhere in between. Not as important as writing and reading (after all, you wouldn't be able to code without that) but there are few opportunities in people's jobs to use leatherworking, soldering, etc.

I have a lot of friends who work in offices surrounded by Excel spreadsheets all day. I know for a fact they would be more productive if they knew how to use it better, write macros, VBA... or heaven forbid, use a database instead. I think this is going to happen more often in the future, too.

Re:Obama Becomes First President to Write a Computer Program by salgernon on Monday December 08, 2014 @08:55PM (#8720488)
I would be satisfied if people were simply able to identify tasks that can and should be automated. There are many, many, many people / organizations that have weekly or monthly manual tasks that could be automated if the individual or organization could recognize it - and hire someone to address the automation.

Stupid alert: I briefly worked at a startup that did push to production by remote desktop to the server and manually restarting the IIS server after copying things into place. They didn't automate it - because "it's the way we always did it." (Yes, they're out of business now.)

Re:Obama Becomes First President to Write a Computer Program by empthought on Monday December 08, 2014 @10:11PM (#8720774)
You've probably seen http://www.xkcd.com/1205/ -- if you're doing it monthly and it takes less time than an hour, you can't spend more than three work days trying to automate it, or you're wasting more time than you're saving.
Re:Obama Becomes First President to Write a Computer Program by fennecfoxen on Monday December 08, 2014 @11:09PM (#8720980)
Meh. Automation in the software industry isn't just about saving a certain amount of wall-clock time: that's the perspective of a bean-counter without broader perspective. Having highly skilled people frequently spend time on boring drudgery has other costs. The cost of the interruption, for instance, or the annoyance factor alone...

Automation also has the potential to make a task less error-prone and its output more consistent. A botched or forgotten manual task can be difficult to clean up after, so there's risk management too. For instance: in one incident, a coworker at a former employer accidentally ran the "send thousands of people email about how much we're about to pay them in a few days" script on input from the wrong year because January had just ended and he had to input a value containing the last day of the month (e.g. 2013-01-31) by hand.

Re:Obama Becomes First President to Write a Computer Program by taeric on Tuesday December 09, 2014 @12:01AM (#8721127)
Way to completely miss the point. The point isn't to try and avoid automating things. But to realize that you can't just dream up benefits in complete isolation to the costs.

That is, if the benefit is worth the costs.... do so. Otherwise, reconsider.

And few things make as glorious as a mistake as an automated job going out of control. There is a reason one of the most important questions you should ask on any automated task is "how do I make it stop?"

Re:Obama Becomes First President to Write a Computer Program by curun1r on Monday December 08, 2014 @09:55PM (#8720714)
I agree with the original poster. Until now, when coding intersects with other fields, the approach has been for someone skilled in coding to come up-to-speed on whatever field needs automation. In the course of my career, I've had to learn to basically be an appraiser, employee benefits broker, pharmacist, dentist and auto mechanic. And while I learned a lot about these fields, there's no way that I can know these fields as in-depth as someone trained to do that actual work. This pattern is unsustainable and leads to software that is superficial and never truly meets the needs of the domain. But as we create more and more abstractions between programmers and the underlying hardware, coding will become more accessible to people with less background in software development and the desired balance between domain knowledge and programming knowledge will shift away from coding ability.

There will always be a need for people who understand computer science, but those engineers will be like compiler engineers or hardware engineers are today...enabling a much larger group of programmers to produce the software that provides value to users. And as we're able to provide improved layers of abstraction to make software development easier, we'll see computing become more accessible to more programmers who will build software with a much richer understanding of the domain.

So I'm torn about initiatives like this. I see coding as the new literacy...it will be a skill required by almost every professional who is an expert in his or her domain. But they won't be coding in today's languages and coding will be significantly easier than it is today. So we need to find a way to teach children to develop using tomorrow's tools today. And that means extracting the part of programming in today's languages that is intrinsic to programming while doing our best to avoid the part of coding that is just pain inflicted by today's limited abstractions. That separation may be difficult (or even impossible) to achieve, but that doesn't mean we should try. Because anyone who doesn't learn how to instruct a computer to accomplish tasks is going to be automated out of a job (https://www.youtube.com/watch?v=7Pq-S557XQU)

Re:Obama Becomes First President to Write a Computer Program by grayclhn on Tuesday December 09, 2014 @04:15AM (#8721820)
> I see coding as the new literacy...it will be a skill required by almost every professional who is an expert in his or her domain.

That is an extremely unusual definition of "literacy."

"Coding is the new literacy" implies that coding will be necessary for anyone who wants to interact with modern life, not just for experts. Imagine trying to use the freeway system if you could not actually read streetsigns, for example. i.e. if you were illiterate.

Re:Obama Becomes First President to Write a Computer Program by curun1r on Tuesday December 09, 2014 @02:03PM (#8724865)
> implies that coding will be necessary for anyone who wants to interact with modern life, not just for experts.

That's the whole point. Computers and robots are creating a world in which there really isn't room for anyone who isn't an expert. We've already automated the low-hanging fruit...we've got a fraction of the manufacturing jobs because computers and machines can do that work faster, cheaper and more effectively. Google and such are working on less low-hanging fruit (people who drive automobiles for a living, lawyers...there's a bunch of examples in that youtube clip). That bar for offering utility beyond what can be automated is steadily rising.

If you're not an expert in something, you're going to be pretty useless in the world we're creating.

Re:Obama Becomes First President to Write a Computer Program by Retric on Monday December 08, 2014 @08:56PM (#8720491)
There are a lot of tools out there like Excel that become significantly more useful with a little programming skill. World of Warcraft is a perfect example where the ability to create even simple macros is useful for a wide swath of people. Granted it's not nearly as important as reading, but it's probably on par with writing well. A core skill that's useful in most areas even if it's irrelevant professionally it's still useful at a personal level.
Re:Obama Becomes First President to Write a Computer Program by GregBuchholz on Monday December 08, 2014 @08:49PM (#8720459)
I just finished the book "Mindstorms: Children, Computers, And Powerful Ideas" by Seymour Papert (creator of Logo) which would be a give you a good perspective on how computer programming literacy could be used to help people learn (about more than just computer programming). It is a great book that I'd recommend everyone read.
Re:Obama Becomes First President to Write a Computer Program by saraid216 on Monday December 08, 2014 @11:42PM (#8721080)
By this measure, everyone would be competent with statistics.
Re:Obama Becomes First President to Write a Computer Program by hellbanner on Monday December 08, 2014 @08:31PM (#8720395)
"Program or be Programmed" -- great book. Trailer: https://www.youtube.com/watch?v=kgicuytCkoY . Full talk also on youtube, just search for it.
[deleted]
Re:Obama Becomes First President to Write a Computer Program by wyager on Monday December 08, 2014 @08:31PM (#8720392)
> What would a large fraction of the population need this skill for?

Managing the rapidly increasing number of computerized systems.

>our everyday systems are designed by an increasingly smaller group of people.

What are you talking about? Open source is bigger than ever. There are more computer scientists than ever. I can't think of a context in which this statement is true.

Re:Obama Becomes First President to Write a Computer Program by schoen on Monday December 08, 2014 @08:42PM (#8720429)
Maybe it could be interpreted as "the top 10 most widely used programs today were written by a population of programmers who are a smaller fraction of the population of users than has ever before been true before". (That might still not be true: the number of people who work as programmers at Facebook or Microsoft might well be growing much faster on average than the worldwide population of people who use the software they write!)
Re:Obama Becomes First President to Write a Computer Program by Pro_bity on Monday December 08, 2014 @08:31PM (#8720394)
Literacy too started by a small group of individuals making most of the content and having a near strangle-hold over communication. Then ask literacy expanded, so too did the communication, creativity and variety of content.
Re:Obama Becomes First President to Write a Computer Program by hellbanner on Monday December 08, 2014 @08:30PM (#8720389)
Well, yes. But if you're unhappy with say, the way Facebook or email or Twitter works -- you may want to write your own.

You might say "that's absurd, Twitter, Facebook and email aren't going anywhere!" -- but look at What's App or Snapchat or any other communication medium.

There's always room for improvement. Most solutions might be awful but every attempt to improve a system carves more of a path for the next giant.

Re:Obama Becomes First President to Write a Computer Program by spion on Monday December 08, 2014 @08:49PM (#8720461)
I'm hoping that once we have widespread coding literacy (if that happens), we wont have to write our own twitter. Instead services like twitter will provide various "extensibility points" where anyone would be able to inject their own code according to what they need. Sort of like Excel lets you do with macros, but friendlier to use and more pervasive.
Re:Obama Becomes First President to Write a Computer Program by _RPM on Monday December 08, 2014 @08:42PM (#8720433)
How is writing code becoming a "life skill"?
Re:Obama Becomes First President to Write a Computer Program by lkbm on Monday December 08, 2014 @09:08PM (#8720539)
In my non-tech job (basically school registrar), writing userscripts saves me a lot of time--in some extreme cases, it's allowed me to complete what for any of my coworkers would have been a week's worth of work in a few hours, and with far fewer mistakes.

Regular expressions and basic Unix utils are also amazingly valuable in non-tech jobs that involve computer use.

"Life skill"? Maybe not. Enormously valuable in bureaucratic jobs? Definitely.

Re:Obama Becomes First President to Write a Computer Program by GuiA on Monday December 08, 2014 @10:46PM (#8720910)
If all bureaucrats knew how to program, then we would only need a fraction of the bureaucrats we have now. What would they do?

The point of bureaucracy is not to be efficient, it's to give jobs to people who otherwise would be flipping burgers or mopping floors, but are too educated for that. See hyper-bureaucratic countries like France for a vision of this.

I'm on the side of basic income for everyone to avoid this problem and reclaim efficiency in administrative processes, but in our judeo-christian cultures not working is considered a bad thing®, and thus this idea has a hard time gaining traction.

Re:Obama Becomes First President to Write a Computer Program by rayiner on Monday December 08, 2014 @10:56PM (#8720935)
Bureaucracy is devilishly hard to automate. It's easy to have a guy who, say, approves house renovation plans (to use a hyper bureaucratic example). Writing software to process that? Pretty non-trivial AI problem.

This is one of the lessons that keep cropping up when they try to automate say claims administration at the VA. Something that's only 90% automatable might as well be 0%.

Re:Obama Becomes First President to Write a Computer Program by lkbm on Tuesday December 09, 2014 @02:38PM (#8725123)
Or, wow. Conspiracy theorize much?

Is your assumption that businesses are thriving while wasting 10-30% of their revenue on busywork? If so, it should be trivial to crush them with your 10-30% reduction in overhead. Do it?

Is your theory that regulations requiring hard-to-automate bureaocratic work is created with the sly intention of creating busywork for people? Ah, special interests. They can lead to some messed up stuff, but most regulations are put in by well-meaning people trying (often ineffectually) to do what they're actually stated to be for--enforcing safety, fairness, etc.

I've regularly stated that I want most of my job automated away by Google, and we do have start-ups chipping away at old business models, but if it were entirely a matter of simply deciding to stop wasting money, I'm going to go out on a limb and say someone would've done it already.