10 Jul
2020
10 Jul
'20
11:56 a.m.
On Fri, 10 Jul 2020 at 17:45, Steven D'Aprano <steve@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.