• by openplatypus on 11/25/2024, 8:26:29 PM

    Yes, using Monocle for years now. So happy to have rich ecosystem of libraries in Scala land.

  • by solid_fuel on 11/25/2024, 8:24:33 PM

    I haven't encountered this pattern before. Is there some more information on what problems this is designed to solve?

  • by mhitza on 11/25/2024, 11:49:44 PM

    Does the LSP provide clear autocomplete on what properties can be accessed on the bound _ ?

    Asking as someone that doesn't use Scala at all, but has seen the hit-and-miss of some FP language LSPs.

  • by henning on 11/25/2024, 8:56:38 PM

    So behind the scenes, every one of those statements will make a whole new user object with a whole new address object so that it remains immutable? And whether that will actually have any real-world performance impact is I guess entirely situational. Still, what happens if you do that with a big object graph?

    Also, the original strong need for immutable data in the first place is safety under concurrency and parallelism?

  • by ldjkfkdsjnv on 11/25/2024, 8:37:51 PM

    Every scala code base I have worked on, that wasnt written by small team of experts, turned into a huge pile of crap. A small squad of people that treat the language like a religion create an impenetrable masterpiece

  • by neonsunset on 11/25/2024, 9:04:51 PM

  • by wk_end on 11/25/2024, 8:20:40 PM

    Also available for TypeScript:

    https://gcanti.github.io/monocle-ts/

  • by btreecat on 11/26/2024, 12:34:02 PM

    I'm still trying to reason what the value proposition of Scala is in a business sense.

    Developer are more expensive and harder to find, the tooling is weaker, the ecosystem less deep, performance suspect, and the overall XP feels clunky.

    Plus our hardware is procedural, and contains/manages state within the instruction pipeline.

    I strongly believe it doesn't belong as a core business technology.

  • by cultofmetatron on 11/26/2024, 9:40:34 AM

    am I the only one who isn't a little disappointed that this wasn't a library to model the physics of physical lenses?

  • by itronitron on 11/25/2024, 10:33:05 PM

    This has nothing to do with optics, which is a branch of physics that studies the behavior and properties of light.