The algebra (and calculus!) of algebraic data types
codewords.recurse.com/issues/three/algebra-and-calculus-of-algebraic-data-typesJust 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.
UI for sums must remember products (eighty-twenty news)
eighty-twenty.org/2024/07/21/ui-for-sums-remembers-productsI 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
Modularizing React Applications with Established UI Patterns
martinfowler.com/articles/modularizing-react-apps.htmlLearn how to apply established UI patterns for a more organized and maintainable codebase and discover the benefits of layering architecture in React development