On Sat, Jul 25, 2020 at 12:49:36PM +1000, Chris Angelico wrote: > On Sat, Jul 25, 2020 at 12:09 PM André Roberge <andre.robe...@gmail.com> > wrote:
> > Already done (with a different keyword): > > > > https://aroberge.github.io/ideas/docs/html/nobreak.html > > That's a very nice project André, and I think it will probably useful for playing around with experimental new syntax. [Chris] > Thank you. Especially since the source code is extremely short: > > https://github.com/aroberge/ideas/blob/master/ideas/examples/nobreak.py > > I'd like to see this 'ideas' module (or similar) better known. It'd > help a lot with complaints like Steven's. Before telling people to use the ideas module, perhaps you ought to read the IAQs: https://aroberge.github.io/ideas/docs/html/#infrequently-asked-questions-and-comments These sorts of hacks may be great for experimentation, but if people are so conservative that they reject an actual language feature, `for...else`, in code reviews, do you really think they're going to use `ideas` in production? I fear that even if we could get the average developer to say "I know, let's use `ideas` to write a DSL", the project manager -- and the rest of the team -- will probably respond "Over my dead body". We're a long, long way from this sort of thing being considered acceptable in production code. -- Steven _______________________________________________ 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/IAGTYDRCUYPQNHVE7X6MDXD4EZL535VH/ Code of Conduct: http://python.org/psf/codeofconduct/