3 ms·
It is harder to debug points-free code. I find myself doing more debugging with `log` statements in a long pipeline than I do with other styles of code. On th
by CrossEye 12y ago
It is harder to debug points-free code. I find myself doing more debugging with `log` statements in a long pipeline than I do with other styles of code.
On the other side, I tend to work with a few well-tested functions over and over and end up with fewer problems to debug when I work in a functional paradigm, points-free or not.
On rare occasions, when I need to debug something that is difficult because it's points-free I simply add some explicit parameters, either temporarily to enable debugging or permanently.
Points-free is nice, but should never be an overriding goal.