On Fri, 10 Jul 2020 at 17:45, Steven D'Aprano <st...@pearwood.info> wrote:

> I must admit I like the look of this, but I don't know what I would use
> it for.

It feels very much like the sort of "here's some syntax that might
match someone's mental model of something" that is common in languages
that focus on allowing users to build their own DSLs¹ (Lua and Groovy
are two examples of the type of language I'm thinking of, although I
don't know if either has this particular syntax).

Python typically doesn't encourage DSL-style programming, so this type
of "syntax looking for a use case" isn't very popular.

Paul

¹ DSL = Domain Specific Language, in case anyone isn't familiar with the term.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/HUELPGHPCAIFLUKCQ5G7O2LKQFRRZ6CU/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to