Python 有元编程模式目录吗?

发布于 2024-08-19 00:29:37 字数 247 浏览 3 评论 0原文

我刚刚读完《Python Cookbook》。这本书太棒了。

我认为这本书的最佳用途是它提供了大量示例,展示了Python在实际问题应用中的应用。许多习惯用法都包含元编程技术。

不知道有没有总结Python元编程习惯用法的目录?

Python Cookbook 的示例和技术非常丰富。但我认为还需要一个模式目录,为每种技术提供具体名称,并从具体应用领域中抽象出解决方案技术的主要特征,就像《四人帮》的《设计模式》一书中所做的那样。

I have just read Python Cookbook. The book is amazing.

I think the best use of this book is that it provides lots of examples that show python in real problem applications. Many of the idioms include metaprogramming techniques.

I wonder if there is any catalog that summarizes metaprogramming idioms in Python?

Python Cookbook is very rich in examples and techniques. But I think there is also a need for a pattern catalog that gives specific names for each technique and that abstracts the main features of the solution technique from the concrete application area as the Design Patterns book of Gang of Four does.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文