Re:How to stop functional programming
by jarcane on Tuesday February 23, 2016 @05:06PM
(#11162738)
The point isn't to be a "fair" comparison, but rather to compare the number of explicit operations involved. I'd note that your Haskell example there is largely equivalent to the Scheme one.
[ Parent
| on HN ]
Re:How to stop functional programming
by abecedarius on Tuesday February 23, 2016 @08:49PM
(#11163919)
Yes, it's equivalent on purpose. Yet in Haskell it's only a couple tokens longer than the pattern-matching original which you called "far more terse". To fairly test a claim, one should change only the variables the claim is about.