Posted in

Go设计模式学习陷入死循环?破局关键:先掌握3个底层机制(interface layout、method set、type assertion规则)

第一章:Go语言设计模式是什么 … Go设计模式学习陷入死循环?破局关键:先掌握3个底层机制(interface layout、method set、type assertion规则)Read more

Posted in

“go是一种语言”——但它的type system不满足Liskov替换,它的error不是类型,它的interface没有vtable:3个硬核事实逼你重学Go

第一章:Go是一种语言 Go 是 … “go是一种语言”——但它的type system不满足Liskov替换,它的error不是类型,它的interface没有vtable:3个硬核事实逼你重学GoRead more