News for hackers. Stuff that matters.
Re:Why I Prefer Functional Programming by carapace on Saturday October 31, 2020 @02:26PM (#24953944)
You might like Prolog.
Re:Why I Prefer Functional Programming by karmakaze on Sunday November 08, 2020 @07:07PM (#25030263)
I've tried Prolog. It required thinking in both the specification correctness and it's 'search/match' execution based on how it's specified (with manual path cuts inserted as needed) much more so than these FP languages. Effectively writing a procedural definition non-procedurally. SQL can be like this too but is a small space/number of cases that it's not so unexpected.