A possible new “program” keyword?
The proposal to add top-level definitions (which has been brewing for quite a while, and I’ve mentioned it before) has sparked a lively discussion about how it might support top-level statements as well — basically making scripting a well-defined concept in the language.
That, in turn, has provoked a new proposal, to perhaps add a program
keyword as a convenient alternative to having to type out the full definition of your main
function. This would replace both the dead Application
trait and the moribund App
one with something a bit better-defined and more robust.
I’m not going to try to summarize all of the discussion, but I commend both of the above-linked threads for those who are interested in the topic.