Why does len() returned a signed value?

后端 未结 0 1453
不知归路
不知归路 2021-02-11 21:33

Go\'s builtin len() function returns a signed int. Why wasn\'t a uint used instead?

Is it ever possible for len() to return someth

相关标签:
回答
  • 消灭零回复
提交回复
热议问题