Sujet : Re: Is Programming Obsolete?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.miscDate : 07. Apr 2024, 22:21:45
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <uuv2p9$30fkk$3@dont-email.me>
References : 1
User-Agent : Pan/0.155 (Kherson; fc5a80b8)
On Sun, 7 Apr 2024 15:22:13 -0000 (UTC), Ben Collver wrote:
The best software combines a graphical user
interface with a powerful extension language.
No, the best software builds its graphical user interface *on top* of a
powerful “extension language”.
The reason for layering things this way is that trying to program your
extensions by operating through the GUI inevitably turns into an exercise
in frustration (example: Microsoft VBA). Far better to bypass the GUI to
access the programmable abstractions underneath. If you can build your own
GUI extensions on top of that, so much the better.
Example: Blender 3D, with its powerful Python API, probably the most
comprehensive of any content-creation app. Essentially, every part of the
contents of a Blender document can be accessed and manipulation as Python
objects. In the web-developer world, we have the “DOM” concept (“Document
Object Model”); exactly the same principle applies here.
Other open-source content-creation apps also use or offer Python as their
API language: Inkscape, GIMP, LibreOffice.
And then there is Emacs, not only written (largely) in Elisp, but also
extensible in Elisp.