Python 之禅：时机最重要
Python

> 
> 这是 Python 之禅特别系列的一部分，重点是第十五和第十六条原则：现在与将来。
> 
> 
> 


![](/data/attachment/album/202102/09/231557dkuzz22ame4ja2jj.jpg "Clock, pen, and notepad on a desk")


Python 一直在不断发展。Python 社区对特性请求的渴求是无止境的，对现状也总是不满意的。随着 Python 越来越流行，这门语言的变化会影响到更多的人。


确定什么时候该进行变化往往很难，但 [Python 之禅](https://www.python.org/dev/peps/pep-0020/) 给你提供了指导。


### <ruby> 现在有总比永远没有好 <rt>  Now is better than never </rt></ruby>


总有一种诱惑，就是要等到事情完美才去做，虽然，它们永远没有完美的一天。当它们看起来已经“准备”得足够好了，那就大胆采取行动吧，去做出改变吧。无论如何，变化总是发生在*某个*现在：拖延的唯一作用就是把它移到未来的“现在”。


### <ruby> 虽然将来总比现在好 <rt>  Although never is often better than right now </rt></ruby>


然而，这并不意味着应该急于求成。从测试、文档、用户反馈等方面决定发布的标准。在变化就绪之前的“现在”，并不是一个好时机。


这不仅对 Python 这样的流行语言是个很好的经验，对你个人的小开源项目也是如此。




---


via: <https://opensource.com/article/19/12/zen-python-timeliness>


作者：[Moshe Zadka](https://opensource.com/users/moshez) 选题：[lujun9972](https://github.com/lujun9972) 译者：[wxy](https://github.com/wxy) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
Python is always evolving. The Python community has an unending appetite for feature requests but also an unending bias toward the status quo. As Python gets more popular, changes to the language affect more people.


The exact timing for when a change happens is often hard, but the [Zen of Python](https://www.python.org/dev/peps/pep-0020/) offers guidance.

## Now is better than never.

There is always the temptation to delay things until they are perfect. They will never be perfect, though. When they look "ready" enough, that is when it is time to take the plunge and put them out there. Ultimately, a change always happens at *some* now: the only thing that delaying does is move it to a future person's "now."

## Although never is often better than *right now*.

This, however, does not mean things should be rushed. Decide the criteria for release in terms of testing, documentation, user feedback, and so on. "Right now," as in before the change is ready, is not a good time.

This is a good lesson not just for popular languages like Python, but also for your personal little open source project.

## Comments are closed.