Re:Lenses in Julia
by patrick451 on Saturday November 01, 2025 @12:19AM
(#45779217)
> But field access does not compose easily if you have a nested hierarchy of objects. Your natural choice in the "OOP style" is to write a lot of boiler plate to point to each different field you want to get/set.
This is a self inflicted problem. Make data public and there is no boilerplate.
This is a self inflicted problem. Make data public and there is no boilerplate.