3 ms·
How about the idea that the best range specification is: position of first item in the range, position of first item just past the end of the range. Programmin
by ggchappell 16y ago
How about the idea that the best range specification is: position of first item in the range, position of first item just past the end of the range.
Programming examples: Python range function & slice notation, C++ STL ranges.
Real life example: A room is being renovated. It is unavailable starting on the 3rd, and available again starting on the 8th (as opposed to unavailable from the 3rd to the 7th -- how many days is that?).