News for hackers. Stuff that matters.
Re:Python for Non-Programmers by dbcurtis on Friday April 03, 2020 @03:25PM (#22773101)
> 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.

Re:Python for Non-Programmers by thelean12 on Friday April 03, 2020 @04:20PM (#22773572)
And yet, the only way to actually complete that charter is to "interpret" or "compile" that charter into something imperative.
Re:Python for Non-Programmers by simplify on Friday April 03, 2020 @05:21PM (#22774064)
Prolog is the best way to describe these constraints. Nothing else comes close to its declarative power.

The industry will catch on, eventually.

Re:Python for Non-Programmers by kazinator on Friday April 03, 2020 @05:12PM (#22773996)
The 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.