News for hackers. Stuff that matters.
Re:The Prolog Story by jimbokun on Thursday May 20, 2010 @03:03PM (#1364943)
"This kind of algorithm is normally expected to be written, tested, debugged and presented in one hour in programming competitions with fifteen year-old contestants."

Would you deploy this code in a production application?

"Programming competitions work with a text input file to get rid of this complexity. I speak as one who has competed in and won such competitions."

So are you then saying that these kinds of problems take about an hour to solve, assuming you are someone who competes in and wins timed programming competitions? Also, what will be the maintenance costs of changing requirements going forward, as compared to adding Prolog clauses?

Re:The Prolog Story by barrkel on Thursday May 20, 2010 @04:19PM (#1365213)
I'm not going to argue the point to death - and yes, I would deploy that kind of code in a production application, because it's simple code.