What are the advantages of the general types (int / uint) over specific types (int64 / uint64) in Go lang?

前端 未结 3 797
温柔的废话
温柔的废话 2021-01-04 08:38

I understand that int and uint are 64bit signed / unsigned integers - just like int64 / uint64. And I also understand tha

3条回答
  •  無奈伤痛
    2021-01-04 08:56

    In addition to int being of "native" size slice and array indices are int and not int64 or int32.

提交回复
热议问题