
On 7 August 2015 at 00:15, Ron Adam <ron3200@gmail.com> wrote:
On 08/06/2015 02:47 AM, Nick Coghlan wrote:
the right way to do something and the easiest way to do something have to be the same way
Maybe this should be added to Python's Zen?
"The right way to do something and the easiest way to do something should be the same way."
It's already there in my view: $ python -m this | grep 'obvious way' There should be one-- and preferably only one --obvious way to do it. When a particular approach is both easy and right, it rapidly becomes the obvious choice. Issues arise when the right way is harder than the wrong way, since the apparently obvious way is a bad idea, but the superior alternative isn't as clearly applicable to the problem. Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia