News for hackers. Stuff that matters.
Re:I want to fix programming by jholman on Tuesday January 24, 2012 @03:21PM (#3506537)
Isn't this just Prolog?
Re:I want to fix programming by jng on Tuesday January 24, 2012 @03:22PM (#3506541)
OP here. It's not just Prolog, but indeed Prolog is the closest thing now.
Re:I want to fix programming by ryanbraganza on Tuesday January 24, 2012 @04:01PM (#3506759)
How is it not just prolog?

At the very least, a constraint programming language would be a good basis to start with here.

http://en.wikipedia.org/wiki/Constraint_programming

Re:I want to fix programming by nandemo on Wednesday January 25, 2012 @04:02AM (#3508964)
I don't think there's any existing programming language that does what OP wants.

But Prolog is far from the last word on the subject. For one, it is basically untyped. There are dependently-typed programming languages that can express non-trivial properties via types, which the compiler can check (see ezyang's example).

See also:

http://stackoverflow.com/questions/2829347/a-question-about-...

Re:I want to fix programming by dualogy on Tuesday January 24, 2012 @04:17PM (#3506838)
Specifically, a Prolog-like syntax is also hugely popular in this fascinating Constraint Programming niche: http://en.wikipedia.org/wiki/Answer_set_programming