3 ms·
"If I mis-enter information into a form, your error handling forgets all my information and I have to re-enter it." This. I have a very short list of architect
by lscharen 9y ago
"If I mis-enter information into a form, your error handling forgets all my information and I have to re-enter it."
This. I have a very short list of architectural must-haves that I use when evaluating junior dev's code at the start of a project, and not having robust error handling that preserves submitted form information is right up near the top.
It's an annoying design mistake with two input elements, unworkable with five, and just plain cruel beyond that.
- ruleabidinguser 9y agoYou're not evaluating them based on requirements you didn't share, are you? That seems a little unfair
- Xoros 9y agoIs'nt that the point of an evaluation ? "Hey, here is your test and here are the answers. You've got one hour" :)
- deleted 9y ago[deleted]
- ruleabidinguser 9y agoNot really no
- lscharen 9y agoNot evaluating them; evaluating code. Just handing someone an expanded version of "implement good error handling" is not likely to result in a good product. Every project has nuance and subtle trade-offs -- the code review is an opportunity to teach juniors how to map abstract design principles onto concrete implementations without falling back to "cookbook / cargo cult" programming. I want them to take ownership of their own code, and advance down the path of craftsmanship because I believe this results in long-term value -- both to them personally and to the project at hand.