Open AjayArvind2207 opened 2 months ago
Although it is true that both are about the out of bounds issue, both error messages correctly point out the requirement for index. We do not think this affects the app's features.
Team chose [response.Rejected
]
Reason for disagreement: Thank you for the response! While it is certainly not a dealbreaker, I still believe this to be a slightly weaker error message, since from the perspective of new users using the app, perhaps someone who is a programmer and works often with zero-based indexing, it would be far more explanatory to say the index is invalid, than the entire command format being invalid.
I ran the following commands with 10 entries:
delete 11
delete 0
It would perhaps make more sense to have the error message of the second command be similar to that of the first, considering both of them have the same issue of being out of bounds.