- 授权协议: Apache
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: https://github.com/openstack/debtcollector
软件介绍
Debtcollector 是一个 Python 集合,它能通过非破坏性方式收集你的技术债务。
示例代码:
>>> from debtcollector import moves
>>> import warnings
>>> warnings.simplefilter('always')
>>> class Dog(object):
... @property
... @moves.moved_property('bark')
... def burk(self):
... return self.bark
... @property
... def bark(self):
... return 'woof'
...
>>> d = Dog()
>>> d.burk__main__:1: DeprecationWarning: Property 'Dog.burk' has moved to 'Dog.bark''woof'
>>> d.bark'woof'
Head First Design Patterns
Elisabeth Freeman、Eric Freeman、Bert Bates、Kathy Sierra、Elisabeth Robson / O'Reilly Media / 2004-11-1 / USD 49.99
You're not alone. At any given moment, somewhere in the world someone struggles with the same software design problems you have. You know you don't want to reinvent the wheel (or worse, a flat tire),......一起来看看 《Head First Design Patterns》 这本书的介绍吧!
