Hacker News new | ask | show | jobs
by lumpysnake 4535 days ago
What's the point of writing code in a functional way to end up with something that is completely unreadable?

I'd rather have code written in simple, well factored functions and classes and easy to reason about, than having to deal with such a mess of functional code.

Don't get me wrong, functional code can be very elegant and clear, but the example provided here is a huge turn off to me.

1 comments

I don't like the underscore notation (I think it's foreign to C#), but other than that it's very readable to me, so I guess it's a matter of practice and (acquired) taste