Python 有元编程模式目录吗?
我刚刚读完《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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)