Thursday, December 14, 2023
Show HN: Octopus – a directed acyclic graph for app development https://ift.tt/irq83fL
Show HN: Octopus – a directed acyclic graph for app development Directed acyclic graphs are muched discussed in comp-sci, but octopus appears to be the first reusable, turnkey, ready-to-wear, off-the-shelf implementation of a DAG for application development, in any language, that I'm aware of. This is remarkable because DAGs hit a sweet spot in the middle of the three common programming paradigms (OO, event-driven, functional). Let's have a DAG as the top-level structure of our applications. Data-fetching and onChange handlers live in DAG nodes, next to the data they act on. The UI flows out from the DAG with fine-grained reactivity. Our app state is effortlessly consistent, because any outside change (user action, api result) unleashes a graph traversal. Our UI components become much simpler, because they just need to dumbly reflect values in the graph. I'm putting this up for a second time. Absolutely no-one bit the first time, which can't be right :-) https://ift.tt/JAihYsG December 15, 2023 at 12:06AM
Subscribe to:
Post Comments (Atom)
Show HN: AirFlick Drop – AirDrop for Windows with zero mobile app installs https://ift.tt/dAECBIn
Show HN: AirFlick Drop – AirDrop for Windows with zero mobile app installs https://ift.tt/tn1qZTA November 2, 2026 at 02:08AM
-
Show HN: WebApp that blows water out of your phone's speakers https://ift.tt/2VmXkOf March 16, 2021 at 08:22AM
-
Show HN: Stickerbox, a kid-safe, AI-powered voice to sticker printer Bob and Arun here, creators of Stickerbox. If AI were built for kids, w...
-
Show HN: Music player for big local collections with mpd support mpz is a C++/Qt music player focused on UX, with derectory tree and playlis...
No comments:
Post a Comment