On Fri, Jun 11, 2021 at 7:47 AM Jelle Zijlstra
wrote:
>
> El jue, 10 jun 2021 a las 19:30, Cameron Simpson ()
> escribió:
>
>> On 11Jun2021 10:01, Cameron Simpson wrote:
>>
>> It also struck me: functions with _no_ parameters are pretty rare.
>>
>> [...]
>>
> I got curious so I checked a large
El jue, 10 jun 2021 a las 19:30, Cameron Simpson () escribió:
> On 11Jun2021 10:01, Cameron Simpson wrote:
> >So your idea does not suck. But it may not motivate anyone to implement
> >it, or even to agreed that it should be implemented.
>
> It also struck me: functions with _no_ parameters are
non sequitur
Route functions as seen in flask or fastapi.
These functions are often decorated by a route, and may not apply here but
are often found with routes that return a page that doesn't take parameters
such as a home page or a contact page.
On Thu, Jun 10, 2021, 10:30 PM Cameron Simpson
On Fri, Jun 11, 2021 at 10:01:06AM +1000, Cameron Simpson wrote:
> Another thing to keep in mind with any syntax suggestion (not that it
> applies well here, because really, what else can your suggestion mean?)
> it that every addition syntax is a detour into the unused space of
> possible
On 10Jun2021 22:57, Johnathan Irvin wrote:
>non sequitur
Au contraire! Seems relevant to me.
>Route functions as seen in flask or fastapi.
>
>These functions are often decorated by a route, and may not apply here but
>are often found with routes that return a page that doesn't take parameters
On 11Jun2021 10:01, Cameron Simpson wrote:
>So your idea does not suck. But it may not motivate anyone to implement
>it, or even to agreed that it should be implemented.
It also struck me: functions with _no_ parameters are pretty rare.
I had a glance through my own code and aside from some
On 10Jun2021 23:07, Boštjan Mejak wrote:
>Thank you, Steve, for your answer. You're absolutely right. But I needed an
>answer to clarify that my idea, well, sucks.
>
>I was just relating to class definitions -- being able to do 'class
>MyClass: pass' -- and had an idea about having this same
Thank you, Steve, for your answer. You're absolutely right. But I needed an
answer to clarify that my idea, well, sucks.
I was just relating to class definitions -- being able to do 'class MyClass:
pass' -- and had an idea about having this same non-parenthesized version in
case of no given