News for hackers. Stuff that matters.
Re:Generalizing 'jq' and Traversal Systems using optics and ... by AnthonBerg on Thursday October 08, 2020 @02:28AM (#24716432)
> "analyzed much better" and "neat safety guarantees"

Ah - how about if we add "by the compiler": They can be analyzed much better by the compiler, and we get neat safety guarantees by the compiler.

> Is my code hard to analyze or unsafe?

Not for a human, no :) But optics allow us to drop some boilerplate, retain all flexibility, and also allow the compiler to do a deeper analysis so we can compose computational patterns. That composition composes, so as we build more complex things we have tools with us to help navigate them.

There are no comments on this comment yet.