3 ms·
> I asked what happened when you got an error, and both instructors had never been asked that question, and both had ZERO clue about it. No comprendo. Did you
by mixmastamyk 5y ago
> I asked what happened when you got an error, and both instructors had never been asked that question, and both had ZERO clue about it.
No comprendo. Did you mean, what was supposed to happen?
Sounds very context-dependent to me. Sometimes you'll pause and show the user the error, sometimes you'll log it and move on, and if it is fatal you'll shutdown immediately to prevent further harm.
- mikewarot 5y agoThe language had error handling constructs, but in the years they'd been teaching the course, nobody had ever asked how the error handling actually was to be used in practice. I found it shocking that nobody cared about error handling, especially on a platform that generated programs to be used by non-computer literate civilians.
- mixmastamyk 5y agoPerhaps the instructors had no practical industry experience, it happens. In my experience, newbie students are working hard to get things working correctly in simple cases. So error handling feels like a luxury at that point.
- mikewarot 5y ago>Perhaps the instructors had no practical industry experience, it happens. What worried me more was when they said nobody had asked that kind of question before, across years of teaching.
- mixmastamyk 5y agoYes, as I mentioned it’s not a concern of newbies, they need to be taught that it is an important concern.