News for hackers. Stuff that matters.
Re:Why I'm still using Python by Izkata on Saturday December 31, 2022 @12:33AM (#34193911)
> Why are you doing that? Just declare the (named) function right there where you’re gonna use it. If it’s any endorsement CPython does it all the time.

I think a lot of people have no idea nested functions exist in python...

Re:Why I'm still using Python by baq on Saturday December 31, 2022 @02:41AM (#34194476)
And nonlocal, if they want to go to js-land for a second.