4 ms·
It can validate inputs and not let you enter out of range data. You can know that an answer is wrong without knowing what the right answer is.
by netcraft 10y ago
It can validate inputs and not let you enter out of range data. You can know that an answer is wrong without knowing what the right answer is.
- GalacticCmdr 10y agoPossibly the values are all with range. It was just that this operation only worked on elements that were a subset. No amount of validation will catch that error. You could feedback a clarification, but if that happens too often nobody will double check it after they have seen it over and over.
- fixermark 10y agoWhile you can't prevent user error without preventing user capability, you can (as others have observed) follow some common heuristics to avoid common failure modes. A confirm step in something as sensitive as this operation is important. It won't stop all user error, but it gives a user about to accidentally turn off the lights on US-EAST-1 an opportunity to realize that's what their command will do.