News for hackers. Stuff that matters.
Re:Show HN: Python library for functional programming by lmm on Thursday December 14, 2017 @05:20PM (#15927739)
I think single entry/single exit is very valuable, and worth a bit of clunkiness for. And the branch version is also pretty clunky: either the long-winded "return ", abuse of "and"/"or", or the weirdly backwards expression version of "if" that Python has.
Re:Show HN: Python library for functional programming by catnaroek on Thursday December 14, 2017 @05:47PM (#15927984)
I don't disagree that branching on bits is clunky. That it's still less clunky than using Church or Scott-encodings speaks volumes of the practicality of the latter.