3 ms·
> If a function is long enough to need multiple lines, it's also long enough to be named. I once believed that, but I now think it’s a terrible mistake. Python
by earthboundkid 5y ago
> If a function is long enough to need multiple lines, it's also long enough to be named.
I once believed that, but I now think it’s a terrible mistake. Python ends up encouraging classes instead but classes are a much worse abstraction than an anonymous function.