for -- else: what was the motivation?
Peter J. Holzer
hjp-python at hjp.at
Tue Oct 18 20:59:42 EDT 2022
On 2022-10-17 09:25:00 +0200, Karsten Hilbert wrote:
> > which had special combinations for all the BASIC keywords). And if you
> > go this way, why not go a step further and dissociate the program from
> > its linear text representation? Add footnotes, different views,
> > hyperlinks, format mathematical expressions like formulas, etc.
>
> http://literateprogramming.com/
Right. That's one of the inspirations for my comment.
But literate programming is of course still very much rooted in the
"linear text representation" paradigm. You have one definite source
which is a linear text.
In a world of IDEs, databases and hypertext that's probably not the best
we can do. As Raymond Hettinger would say, "there must be a better way".
It would be very different from mainstream programming languages,
however. And ideally you would want it to integrate with a lot of other
infrastructure. So that alone might make it a non-starter, even if it
was really good (which realistically early iterations wouldn't be).
hp
--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp at hjp.at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mail.python.org/pipermail/python-list/attachments/20221019/f007ff4c/attachment.sig>
More information about the Python-list
mailing list