MetaPrograming

Class Metaprograming

元类很强大,但是也不容易掌握。更多的时候,装饰器完全够用,而且更简单。

A Class Factory