“But now you know there was a man named Jack Dawson and that he saved me...in every way...
IP属地:贵州
“But now you know there was a man named Jack Dawson and that he saved me...in every way...
0x01 前言 在编码的时候,我们为了扩展一个类常用的方法就是继承,随着扩展功能越来越多,子类会变得越来越膨胀,使系统变得不灵活。 装饰器模式(Decorator patte...