Hacker News new | ask | show | jobs
by kaba0 1865 days ago
Yeah I know, but that is because it was meant for documents. It is not a great fit for web applications.
2 comments

Applications aren't special.

There are a couple of exceptions for interfaces that are genuinely unconventional, or that deal with multiple spacial dimensions, or that are primarily representing graphs and visual/audio data. But most interfaces should be representable in pure text.

This argument that "the web is only for documents" is missing the point that most applications are just interactive documents when you really break down their UI. A labeled tree is a fine way to represent user-facing state for most apps, and most apps would benefit from exposing a more semantic interface to users that was easier for them to manipulate and read programmatically.

What is a better fit for web applications?
Nothing, because web applications are by definition html css js. Though canvas-based solutions can circumvent the layouting problem, but at the price of reinventing everything in a non-standard way.
The layout problem isn’t css... it’s the user platform is anything from a tiny vertical screen to a giant horizontal one.

Swing, Qt, et al do not have great answers to this problem, and definitely not superior ones than css.

qml is quite awesome. hands down! its a joy to work with.

but I agree in general with your statement.