2 ms·
Arc's [] notation would help in the second case. filter([_.endswith('.py')], os.listdir(some_dir)) I've found that one of the most important things to elim
by pg 18y ago
Arc's [] notation would help in the second case.
filter([_.endswith('.py')], os.listdir(some_dir))
I've found that one of the most important things
to eliminate from a program is unnecessary names.
Introducing a variable is more than
1 token's worth of conceptual load.