Please log in to watch this conference skillscast.
At Zalando, they use a "modules-as-records-of-functions" to structure their services and share code. They need the ability to create components which can easily be wired together but also changed at will for unit or integration testing even if they are very far down in the dependency tree.
This talk will show how Eric approached this problem, started solving it with 2 simple type classes and a bit of Template Haskell but then came up with a much more simple way, relying on just one data structure!
Not only this makes reconfiguring applications a breeze but the same technique can be applied to Hedgehog generators where you can define a "compositional language" to modify existing generators for nested data structures. You can now express things like "generate a model of shoe with only the colour blue and 2 sizes
YOU MAY ALSO LIKE:
- Practical Eff monad for microservices - Advanced (SkillsCast recorded in December 2016)
- Haskell eXchange 2020 (Online Conference on 4th - 5th November 2020)
- What's in a Functional Compiler? (SkillsCast recorded in July 2020)
- The Secrets of the GHC Garbage Collector (SkillsCast recorded in June 2020)
Wire Once, Rewire Twice
Eric is a recovering C++/Java developer who fell in love with functional programming and was incredibly happy the day he landed his first Scala job. The companies he has worked for range from very small start-ups to huge corps in all sort of sectors: telecoms, banking, pharmaceuticals, software editing.