This seems like it would be inefficient to check for, so a recoverable Exception (ItemNotFoundException?) would seem to be more appropriate.
Or is Array[Key] with a key that is not in the array and bounds checking disabled undefined behavior?
This seems like it would be inefficient to check for, so a recoverable Exception (ItemNotFoundException?) would seem to be more appropriate.
Or is Array[Key] with a key that is not in the array and bounds checking disabled undefined behavior?