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: I built a tool that make its fast to onboard devs to your codebase https://ift.tt/BO2AhTb
Show HN: I built a tool that make its fast to onboard devs to your codebase https://envkit.co/ April 14, 2025 at 11:29PM
-
Show HN: High school robotics code/CAD/design binder release Hello HN! My name is Patrick, and I am a junior at my High School’s FRC robotic...
-
Show HN: D&D meets Siri – Interactive voice adventure Hey HN! I've been building tooling for voice-driven apps over the past few mon...
-
Show HN: I Made an AI Social Media Manager to Automate Content Creation Hey HN, I am a Solopreneur, and I love building apps to automate bor...
No comments:
Post a Comment