The History Behind the Definition of a 'String'

后端 未结 10 1770
星月不相逢
星月不相逢 2020-12-02 16:52

I have never thought about until recently, but I\'m not sure why we call strings strings. I am a .NET programmer, but I believe the concept of strings exist in

10条回答
  •  日久生厌
    2020-12-02 16:52

    A string is a sequence of discrete objects (usually char).

    Given that, I would probably venture a guess that it may have to do with a metaphor related to "string of pearls". Each bead on the string is a single character.

提交回复
热议问题