4 ms·
> lenses solve a problem that no other language has Indeed other languages don't have problems dealing with immutable collections since almost none have good i
by tome 3y ago
> lenses solve a problem that no other language has
Indeed other languages don't have problems dealing with immutable collections since almost none have good immutable collections. All I can say is that, when working with other languages, I wish they did have that problem!
> most Haskell programs seem to me to be completely unreadable by anyone except the author
Interesting. That's the opposite of my experience. Haskell is pretty much the only language where I expect to be able to read code written by others ("others" including "myself a year ago").
- dllthomas 3y agoEven where they lack the problem I find myself wanting lenses (or other optics) every couple months at a minimum.