News for hackers. Stuff that matters.
Re:Imperative vs. Declarative (2013) by segmondy on Tuesday December 02, 2014 @10:11PM (#8691694)
Not practical, there are infinitely many functions that could produce such result

here is such psuedo code foo(x) { if (x <= 5) { x * 2 } else { x } } foo1(x) { if (x <= 6) { x * 2 } else { x+1 } } foo1(x) { if (x <= 7) { x * 2 } else { x+2 } }

There are no comments on this comment yet.