
On Fri, Apr 17, 2020 at 9:57 AM <oliveira.rodrigo.m@gmail.com> wrote:
The mode-switch proposal though would not impede one to mix shorthand and longhand forms. This should be valid syntax:
```python return render_template("index.html", *, twitter, username=user["display_name"], channel, channelid, error, setups=database.list_setups(channelid), sched_tz, schedule, sched_tweet, checklist=database.get_checklist(channelid), timers=database.list_timers(channelid), tweets, ) ```
I definitely hate the above version. Intermixing auto-named values with bound values is super-confusing and a huge bug magnet. However, the following does not look bad ONLY if the mode-switch is strictly to bare-names-only after the switch: render_template("index.html", username=user["display_name"], setups=database.list_setups(channelid), checklist=database.get_checklist(channelid), timers=database.list_timers(channelid), **, twitter, channel, channelid, error, sched_tz, schedule, sched_tweet, tweets, **more_kwargs) Putting the named parameters strictly first gives a hint to the fact that the rest are "special named parameters" (with auto-naming). -- Keeping medicines from the bloodstreams of the sick; food from the bellies of the hungry; books from the hands of the uneducated; technology from the underdeveloped; and putting advocates of freedom in prisons. Intellectual property is to the 21st century what the slave trade was to the 16th.