Posted in

Go接口设计反模式大全:为什么你的interface{}、error、Reader/Writer正在 silently 毁掉系统可维护性

第一章:Go接口设计反模式的系统 … Go接口设计反模式大全:为什么你的interface{}、error、Reader/Writer正在 silently 毁掉系统可维护性Read more

Posted in

Go泛型约束设计反模式(interface{}不是万能解药):基于Go标准库errors.Join、slices包源码的3个最佳实践范式

第一章:Go泛型约束设计反模式( … Go泛型约束设计反模式(interface{}不是万能解药):基于Go标准库errors.Join、slices包源码的3个最佳实践范式Read more

Posted in

Go函数参数设计反模式(Uber Go Style Guide权威引用):避免interface{}、慎用…T、禁用nil切片默认值

第一章:Go函数参数设计反模式总 … Go函数参数设计反模式(Uber Go Style Guide权威引用):避免interface{}、慎用…T、禁用nil切片默认值Read more

Posted in

Go接口设计反模式:为什么你的interface{}泛滥成灾?从DDD契约建模到Go Interface最小完备性检验清单

第一章:Go接口设计反模式:为什 … Go接口设计反模式:为什么你的interface{}泛滥成灾?从DDD契约建模到Go Interface最小完备性检验清单Read more