News for hackers. Stuff that matters.
Re:Functorio by m_mueller on Wednesday February 17, 2021 @12:43PM (#26169125)
I don't think Python's type system is capable enough (yet) for something like this. However tail recursion optimization to me is a non issue - for something expensive and deeply nested I use an iterative approach, and for everything else python's recursion is good enough. There are not that many usecases like this per code base anyways, in my experience. In my current one there is one central facility to do object loading based on yaml definitions, that's the one place I need it there for example.

There are no comments on this comment yet.