Ask HN: Why did famous.js fail?
This seems vastly superior (more logical, determnistic, and appropriate for modern web development than html+css) to a lot of the other options out there.
This seems vastly superior (more logical, determnistic, and appropriate for modern web development than html+css) to a lot of the other options out there.
The first demo of this on the other hand, has html embedded in javascript strings. A program of any complexity written like this would quickly turn into a big ball of mud.
And arguably, if you choose a language based upon its ability to help you define what is "dynamic" vs. "static" you've made some mistakes.
Please elaborate.
On the other hand, many of us decided the exact opposite.
Check the history ?. Declarative UIs has been around for, what 30-40 years, and they don't seem to be actually gaining any share.
They invariably look super-useful and productive when you build "my first app". Typically it is a "ToDo list".
Then you start using it to build something larger and then you swear a lot, and eventually realize that the whole premise is flawed, and then you decide never to use declarative UIs again, ever. lol.
10 years ago, it was Sencha, DOJO, etc.
As for native, every OS provides component-based UI toolkit.
Really? Because HTML seems to be by far the most popular environment these days. many are even trying to push it to the desktop.
"Then you start using it to build something larger and then you swear a lot, and eventually realize that the whole premise is flawed, and then you decide never to use declarative UIs again, ever. lol."
What other abstractions are you using? If it was manipulating things based in jQuery selectors then I'd agree. But I find a combination with an MVVM framework (like knockout) it scales incredibly well.
However there may be opportunities elsewhere . . .
In reality I'm expecting html+css to keep evolving and removing most of the pain points. Grids for example:
But I think ultimately everything is being done to extend a legacy technology that was meant to add hyperlinking to texts and nothing more. I think a first-principles re-approach will be so much more powerful and free of the gravity of html+css constraints allowing developers to reach escape velocity.
Starting from scratch could be better in theory, but I'm doubtful that it will happen in practice anytime soon.
Funny enough, the same exact thing happened with Outracks' "fuse", started as a tool (called Realtime Studio) for realtime GPU-driven, optionally interactive content like music visualization (had a slick demo for that) and demo-production (Outracks is also a demogroup) and then switched to a mobile UI tool all of the sudden. (at which point I started completely ignoring because it's completely not what I wanted)
yes, the DOM sucks and is slow no, neat 3d client effects are not what most people need now