Re:Ask HN: The future of programming languages?
by swannodette on Wednesday November 10, 2010 @03:24PM
(#1891678)
I will make some heretical statements. I think unit-testing sucks. I think current type systems are overrated.
Logic programming + meta-programming as well as Logic programming powered RTEPLs (Read-Typecheck-Eval-Print-Loop) can give us optional rich, strong guarantees without adversely affecting runtime performance. This is a space that needs more exploration.
Re:Ask HN: The future of programming languages?
by silentbicycle on Wednesday November 10, 2010 @02:10PM
(#1891461)
Two visible things to come out of logic programming are Erlang and constraint programming. Both are very significant, in their own niches.
I don't think Prolog is dead yet, either.
Re:Ask HN: The future of programming languages?
by EdiX on Thursday November 11, 2010 @12:20PM
(#1894467)
Erlang is not a logic programming language. They started with a logic programming language and eventually removed every feature that made it a logic programming language.
Re:Ask HN: The future of programming languages?
by gtani on Saturday November 13, 2010 @08:54AM
(#1900818)
Correct, what's left in erlang from prolog is the pattern matching syntax for function definition, where you have multiple clauses to test, sequentially, whether runtime args match the number and types of parameters in each clause (and values, if guards are used). No unification/backtrackig involved.
I think logic programming has a lot to offer the world, in theory, but in practice it seems to be pretty much dead. True, there is probably more going on with Prolog now than, say, a decade ago. But widespread use is not happening, nor is inclusion of logic-programming features into other languages. Further, I don't see this changing in any truly significant way in the near future.
Apparently, you do see it changing. Would you care to comment on that?