Re:Lenses in Julia
by electroly on Saturday November 01, 2025 @09:22PM
(#45787094)
Oh, I meant that I suspect it's a bad idea. I've got a gut feeling that I can't put my finger on. I implemented it anyway because my language's design "pointed" in that direction based on prior decisions I had made (re: not having any reference semantics), but I can't shake the feeling that I've created something internally consistent but confusing to people trying to learn it. Or that it will hit a wall at some point and I'll suddenly realize why this is not done. I'll have to think about it some more. Thanks for the discussion!
[ Parent
| on HN ]
Re:Lenses in Julia
by WorldMaker on Saturday November 01, 2025 @09:50PM
(#45787197)
Ah, that makes sense. I went on to a longer length on that, but apparently my browser accidentally posted a partially complete draft.
Hopefully the remainder post adds additional perspective.