About One Liners

Dev Tip: Just because you can "simplify" a piece of code into a "one liner" doesn't mean you should.

In general (yes, there are exceptions) keep your code as simple and "dumb" as possible. Your co-workers will appreciate it when they need to come back and fix what you did!

James Hickey (@jamesmh_dev)

Tips and Tricks Programming Wisdom Python 3 JavaScript