/ 水滴石穿 / Golang中defer关键字的使用

Golang中defer关键字的使用

2018-03-07 posted in [golang]

The first design pattern principle

> program to an interface, not an implementation

The sencond design pattern principle

> favor object composition over class inheritance