I think this motto should not be understood too strictly. Here are a few hints
1) If there is only one (preferably obvious) way to do things, this reduces considerably the design part of writing software. Everybody agrees on the unique possible solution.
2) Obviously (and hopefully) this is not so in real life. There ARE several ways to do things, so the motto must be understood as an unreachable ideal.
3) Perhaps, this applies best to writers of APIs or UIs. Offering only one way to do things makes a much simpler interface. So perhaps when Tim Peters wrote the zen of python, he mainly targetted python developers and this was a guidance rule for python, to offer only the best way to do each thing.
4) As everybody knows, this was also a response to perl's TIMTOWTDI, which looks appealing to the beginning perl programmer, but rapidly leads to indecipherable code. At the time python and the zen of python were written, perl was a leader in scripting languages, and pythonistas had to give arguments as to why their language was better.
Gribouillis
Posting Maven
2,786 posts since Jul 2008
Reputation Points: 1,044
Solved Threads: 691