Sean Safarpour
2004-01-24 20:46:18 UTC
Hello everyone,
It seems like some people think that error handling is a special case that
was not mentioned in the lab 1. Error handling is part of programming and
should always be done. A program that runs correctly under "the expected"
input but fails to handle errors under "unexpected" input is in fact not a
functionally correct program. As an introductory class, we are trying to
teach you the proper way to code and this includes error handling.
Of course, we don't expect you to handle ridiculous errors such as memory
failures and so on. However, expecting an invalid input form a user, is
the most basic type of error handling.
Now, about specific labs:
We have mentioned that "a basic amount of error handling is expected" for
every lab. The cases mentioned in some of the previous postings fall into
this category. Any input/parameters/conditions that are unexpected fall
within this category and should be handled appropriately.
Hope that helps,
Sean Safarpour
Head TA
***@eecg.utoronto.ca
It seems like some people think that error handling is a special case that
was not mentioned in the lab 1. Error handling is part of programming and
should always be done. A program that runs correctly under "the expected"
input but fails to handle errors under "unexpected" input is in fact not a
functionally correct program. As an introductory class, we are trying to
teach you the proper way to code and this includes error handling.
Of course, we don't expect you to handle ridiculous errors such as memory
failures and so on. However, expecting an invalid input form a user, is
the most basic type of error handling.
Now, about specific labs:
We have mentioned that "a basic amount of error handling is expected" for
every lab. The cases mentioned in some of the previous postings fall into
this category. Any input/parameters/conditions that are unexpected fall
within this category and should be handled appropriately.
Hope that helps,
Sean Safarpour
Head TA
***@eecg.utoronto.ca