4 ms·
The discussion of how to denote the bounds of a sequence may be missing one consideration: Intuition from language. When speaking we articulate a range by stati
by JamesCoyne 8y ago
The discussion of how to denote the bounds of a sequence may be missing one consideration: Intuition from language. When speaking we articulate a range by stating the first and last permissible value. E.g. "Pick a number between one and ten". My point is understanding the length of the sequence is rarely as important as quickly grasping its bounds.
- wodenokoto 8y agoBut when we say "between 1 and 10", the bounds are 1 and 10, but the length of the sequence is - as far as I can count my fingers - also 10.
- beobab 8y agoI seem to remember using this in early versions of Visual Basic: Dim myArray(1 to 10) As Integer Don't know if it still works, though.