3 bookmarks for 2024-07-22

25.

The algebra (and calculus!) of algebraic data types

codewords.recurse.com/issues/three/algebra-and-calculus-of-algebraic-data-types

Just as algebra is fundamental to the whole of mathematics, algebraic data types (ADTs) are fundamental to many common functional programming languages. They’re the primitives upon which all of our richer data structures are built, including everything from sets, maps, and queues, to bloom filters and neural networks.

24.

UI for sums must remember products (eighty-twenty news)

eighty-twenty.org/2024/07/21/ui-for-sums-remembers-products

I had a small insight yesterday while building a component for a small web app: the user interface for editing an incomplete value of sum type A+B needs to remember a product of input 2×A×B from the user

23.

Modularizing React Applications with Established UI Patterns

martinfowler.com/articles/modularizing-react-apps.html

Learn how to apply established UI patterns for a more organized and maintainable codebase and discover the benefits of layering architecture in React development