Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is it called a 'String'? [duplicate]

Tags:

string

types

Possible Duplicate:
The History Behind the Definition of a ‘String’…

In most programming languages a string is a sequence of characters. Why is it named that?

The earliest instance of it being called a string is Algol 60 (as far as I know).

Question posed by Douglas Crockford in his talk today (will post when talk is online).

like image 333
Paul Tarjan Avatar asked Feb 06 '10 03:02

Paul Tarjan


Video Answer


1 Answers

I believe it comes from math theory. Sets, grammars, languages, strings, etc.

like image 157
Jeff Ober Avatar answered Sep 19 '22 23:09

Jeff Ober