DEV Community

loading...

Discussion on: Are one liners always pythonic?

Collapse
justinkaffenberger profile image
JustinKaffenberger

If you are:

  • Maintaining a long lived product
  • Attempting to scale your teams with new talent
  • Are willing to let go of your code wizard ego

I highly recommend opting for more readable code.

Otherwise! You get to be the bus factor of 1 for the piece of code.

Collapse
miguelmj profile image
MiguelMJ Author

Good advice!