5 ms·
To give you a counter example: when i write code in an imperative language i always first write the logic out as fold/map/filter and then translate that into an
by pwm 7y ago
To give you a counter example: when i write code in an imperative language i always first write the logic out as fold/map/filter and then translate that into an imperative loop.
- fooker 7y agoThat's not a counter example. I stated map/fold/filter is difficult to read. You said they are easier to write. These are not opposite, and I happen to agree with you.
- pwm 7y agoFair comment. I do find reading it much easier as well, which I guess boils down to familiarity, but when reading i don’t need to translate it hence my comment re writing.