wallymathieu / with

Extensions and classes to make immutable c# easier to use. Obsolete with introduction of records in C# 9.
MIT License
18 stars 1 forks source link

Lens tutorial for c#ers #56

Open wallymathieu opened 4 years ago

wallymathieu commented 4 years ago

In order to understand what's neat about having lenses, one needs to understand what lenses are.

How do we explain it in terms that might be more familiar to many developers?

The deep theory does not seem to be needed, rather more a cursory view of lenses and two main ways of combining them.

One way to view it is to see it as Templated Builders.

Evaluate:

wallymathieu commented 4 years ago

Contrast with Structuremap , https://github.com/MapsterMapper/Mapster et.c.