3 ms·
I've known about hyperfiddle for a while, but I never really "got" it. I finally get it, this is https://glitch.com https://glitch.com but with a hosted databas
by swlkr 8y ago
I've known about hyperfiddle for a while, but I never really "got" it. I finally get it, this is https://glitch.com https://glitch.com but with a hosted database and can be used for real web apps in production, thanks to datomic's use of data for schema migrations instead of imperative sql style migrations and datomic's support for "time travel".
It's definitely a huge leap forward for productivity, seeing as you can throw away git, your text editor, bash/ansible/puppet/docker/k8s for deploys since you're editing things live on datomic cloud, but it's a hard sell, even to a huge clojure fan like me, I'm just so used to the status quo.
- xchaotic 8y agoPerhaps I've been eating the 'devops' cookies for too long, but live editing doesn't replace git and versioning. Even if you're running only 'latest' version and your product is hosted, you still need versions and to be able to roll back (or forward) and to know which nodes are running which version. So something like glitch for fast prototyping - sure, but IMO it doesn't replace a real production workflow.
- dustingetz 8y agoThanks Sean! You can use git if you want and just point the fiddle at a qualified var like "myapp.foo.bar/xyz-view". Tbh it will take some time for these ideas to settle in and figure out how far the idea of code-in-database can be pushed. One interesting thing to note is that any fiddle's cljs code is basically just little top-level React.js snippets that stitch components together, it just isn't very critical in the grand scheme of things, the components themselves are still a proper dependency rooted in git. There are also some new things we can do, for example: really good intellisense backed by a database, collaborative editors for pair programming, or even dependency splitting and analysis down to the function scale like explored in Codeq. Only time will tell!