4 ms·
I’ve used lenses, and yes, at least in my case, I couldn’t resist writing clever code. It was a lot of fun to write, but a giant nuisance to read later. I don’
by christophilus 4y ago
I’ve used lenses, and yes, at least in my case, I couldn’t resist writing clever code. It was a lot of fun to write, but a giant nuisance to read later.
I don’t think this is the fault of lenses, though. I think they can add clarity. The problem was that I got curried away. Heyo! I’ve seen the same thing happen with Scala, Clojure, Ramda, Haskell, Rx. Newcomers want to flex their new-found muscles and push the abstractions as far as they can. The result is a world of pain come maintenance time.
- robinsonrc 4y agoCurried away. Nice