3 ms·
Good point! Dynamic languages are different in their terminology. AFAIK strongly typed languages have a clear definition of arrays. The OP was talking about arr
by namirez 7y ago
Good point! Dynamic languages are different in their terminology. AFAIK strongly typed languages have a clear definition of arrays. The OP was talking about arrays having "horrible performance if the user inserts text anywhere other than the end of the document". I think this statement has an implicit assumption that arrays are contiguous which is not true in Javascript.
- calcifer 7y ago> Dynamic languages are different in their terminology By different you mean wrong. PHP calling an ordered hash map an array doesn't make it one.