Hacker News new | ask | show | jobs
by turtleyacht 1074 days ago
> Svelte is a language.

All Javascript frameworks may become implementations of SAT solvers, where rendering and state are scheduled constraints, i.e. tiny operating systems.

NPM uses CSS as a query language - https://news.ycombinator.com/item?id=33136843 - 9 months ago

Then apps may be instantiations of the framework.

1 comments

They should be SAT solvers, but people also want them to be vague and super flexible. Many people I know responded to Apple UI constraints (what was the name again?) with ‘what am I, a math professor?’. People want throw poop against a wall and smear it around and when they are happy with their work, they want to press a button and get the absolute optimal result that fits their broadest use case.

No different from what most non-frontend developers want by the way.

Problem is; that is not yet possible at all, because ‘the spec’ is too vague and strictness generated from vagueness will either be just vagueness (cannot find any constraints to throw into a solver so just leave it) or too strict (where many cases simply are suddenly forbidden that were actually feasible cases by the author).