4 ms·
I can't agree with this article, but I fear it may be a case of over simplified examples. For example, I generally prefer a simple lambda as a `key` to a named
by alexchamberlain 8y ago
I can't agree with this article, but I fear it may be a case of over simplified examples. For example, I generally prefer a simple lambda as a `key` to a named function I have to go find the definition of when I want to understand it and I find lambdas more readable than itemgetter at al. Ofc, pass around normal functions and use generator expressions when you can.