Usually, during design and implementation, you should choose one of two seats: beauty, flexibility, maintainability, or efficiency at runtime. Kirill will show that in some cases you can comfortably occupy both places using type classes that are not available in C #.
Following the example of Wlaschin, the speaker will present a code that:
- It looks like the most ordinary.
- Works with any type of item and collection.
- Not much inferior to the old school version.
- At times faster and more economical than solutions on interfaces.
- Universal item-by-item comparison of collections.
- LINQ without allocation.
- LINQ without calling delegates in a loop.