News for hackers. Stuff that matters.
Re:What's worked in Computer Science (2015) by SatvikBeri on Wednesday November 29, 2017 @09:53PM (#15813091)
Not a standard term – I'm just referring to the ability to do anything in a lambda that you can do in the body of a function, such as defining intermediate values, which is not possible in Python.
Re:What's worked in Computer Science (2015) by zjarek_s on Thursday November 30, 2017 @01:37PM (#15818260)
I think this is nitpicking. In python you can do everything you want in inner functions, they just have to be named. Additionaly there is simple syntax for single expressions, that don't need names. Lack of TCO is a lot bigger obstacle to using more functional style