News for hackers. Stuff that matters.
Re:The Future of Programming by miguelrochefort on Sunday July 21, 2013 @06:27PM (#6080593)
The future of computing is design by contract and intentional programming. You define your goal, and that's about it. Most technicalities will be delegated to machines.

Most programmers will develop smart agents that will manipulate a decentralized and unique semantic data source. All of this is quite obvious.

Re:The Future of Programming by chad_oliver on Sunday July 21, 2013 @07:40PM (#6080906)
We've been making this prediction for decades, and it still hasn't arrived. I think the problem is that as our software tools become more capable, we tackle larger projects. As time goes on we'll be able to solve a greater number of problems by 'defin[ing] your goal, and that's about it', but we won't be able to solve a larger proportion of problems.

That said, I still see a lot of potential for this sort of programming. One of my side projects is an attempt to bring intentional programming to embedded hardware design.

Re:The Future of Programming by Sven7 on Sunday July 21, 2013 @09:43PM (#6081319)
>it still hasn't arrived

Have you seen wolfram alpha in action?

Re:The Future of Programming by Peaker on Monday July 22, 2013 @05:02AM (#6082616)
For me, Wolfram Alpha has always just worked on the examples given by them, but when I try my own inputs, it fails on almost all of them. Even though my inputs are just variants of the same queries.
Re:The Future of Programming by chad_oliver on Monday July 22, 2013 @04:51PM (#6086385)
Yeah, that's part of the reason why I said that "we'll be able to solve a greater number of problems by 'defin[ing] your goal, and that's about it'". Progress will happen at a steady rate, but the problem space will expand even faster.
Re:The Future of Programming by hexagonc on Tuesday July 23, 2013 @11:25AM (#6090573)
I agree with you, but all you've really said is that we will rely on general AI to accomplish our goals. The stupider the AI, the more you have to define yourself. You'll have to define the terms used in the description of your goal as well as terms used by those terms. This sounds like defining requirements. The problem with this is that, lacking general AI, the effort it takes to define your goals precisely will probably be equivalent to writing a program anyway. The only difference between defining requirements and coding is people writing requirements can rely on a lot of background knowledge by the reader. Most of us that have worked in the corporate world know how poor technical requirements can be.
Re:The Future of Programming by count on Monday July 22, 2013 @01:22AM (#6081921)
This sounds suspiciously like PROLOG...
Re:The Future of Programming by antrix on Sunday July 21, 2013 @07:57PM (#6080974)
Curious to know, other than SQL, are there any other examples of successful technologies that achieve this intentional, goal-driven programming?
Re:The Future of Programming by primaryobjects on Sunday July 21, 2013 @09:01PM (#6081199)
This sounds like genetic algorithm programming (see my other comment below https://news.ycombinator.com/item?id=6080492). Writing a program consists of defining the end state. The GA then runs through thousands of epochs, getting closer and closer to the end state (determined by a fitness score for each program), until the solution is found.

I was able to achieve automated programs for printing text, simple math operations, string manipulation, and conditionals. After that, programming the fitness methods started getting complicated.

Re:The Future of Programming by dualogy on Monday July 22, 2013 @11:49AM (#6084482)
"Answer Set Programming" or more generally, Constraint Programming.