Sunday, March 30, 2008

Return codes or exceptions ?

As promised - no more pics or movies :) Rather, in preparation for your monday, yet another debate on the topic of return codes vs. exceptions. Somewhat like a vi vs. emacs or windows vs. linux :). Personally I am very biased towards vi, linux, and return codes, respectively - but the article (and the comments) gives a good thinking material nonetheless.

2 comments:

Anonymous said...

Hello Dalien,

Exception throwing is an interresting topic. Here is a another slightly different interresting discussion are try and tryparse in general :

http://www.codinghorror.com/blog/archives/000358.html

Dalien said...

hi Forest,

indeed interesting link, thanks. All of this illustrates there is no clear-cut rule which would be universal for all situations - it depends, on many circumstances.

/d