3 ms·
> the real world is apparently imperative. I beg to differ. The real world is declarative. But as software developers we mostly suck at creating declarative
by dbcurtis 7y ago
> the real world is apparently imperative.
I beg to differ. The real world is declarative. But as software developers we mostly suck at creating declarative ways to express problems. The spreadsheet being the one example of an intuitive declarative UI that non-programmers grok easily.
Your average corporate VP of engineering uses a declarative interface to issues charters to his developers: "You need to hit X performance target, Y cost of goods, and Z MTBF. By Date D. Go."
Declarative is the way the world works.
- thelean12 7y agoAnd yet, the only way to actually complete that charter is to "interpret" or "compile" that charter into something imperative.
- kazinator 7y agoThe political or legal world is declarative, for sure. Perhaps an inviting flower is declarative to a bee, or reactive chemicals are declarative to each other. Other than that, I'm not so sure.
- simplify 7y agoProlog is the best way to describe these constraints. Nothing else comes close to its declarative power. The industry will catch on, eventually.