Why does len() returned a signed value?

后端 未结 0 621
余生分开走
余生分开走 2021-02-11 21:21

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

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