OpenStack 技术债务收集集合 Debtcollector

码农软件 · 软件分类 · 常用工具包 · 2019-08-18 11:59:54

软件介绍

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'

本文地址:https://codercto.com/soft/d/12628.html

Head First Design Patterns

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》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具