Re:I thought I understood recursion
by d--b on Wednesday December 18, 2019 @05:45AM
(#21823643)
C# equivalent:
[ Parent
| on HN ]
came here to point out that the author doesn't seem to know C# very well if they don't know about Enumerable.Range.
Less readable in my opinion and I'm more used to C# code than Haskell.
I feel the opposite. I find the C# more readable than the Haskell. I haven't written C# regularly in 10yrs.
It's awful indeed. But it's a translation of what haskell does. The imperative version would be much more readable in any case...