DEV Community

loading...

Discussion on: Are one liners always pythonic?

Collapse
alainvanhout profile image
Alain Van Hout • Edited

Given that that second example packs quite an awful lot on a single line, I'm pretty it runs afoul of 'sparse is better than dense'.

Collapse
miguelmj profile image
MiguelMJ Author

I like that philosophy!