Reply to Re: What is the difference between exceptions and simple error handling techniques?

Your name:

Reply:


Posted by Jerry Stuckle on 12/03/07 04:53

adam.timberlake@gmail.com wrote:
> I've just finished reading the article below which goes into some
> depth about exceptions. The article was rather lucid and so I
> understand how to implement it all, the thing I'm having trouble with
> though is why would I need to them? For example, I could suppress my
> functions using the @ sign and then use an if statement to check if
> they returned false or not. Similarly, I can also return various
> integers, like -4 and -5 for errors, and check those.
>
> Article: http://www.talkphp.com/showthread.php?t=1478
>
> As you can see, the article gives some reasons why, but I don't think
> it's quite convinced me that exceptions are the way to go. I thought
> maybe they'd introduce a lot more into the error handling side of
> things, but I think I am mistaken. Unless I am overlooking something?
>

Please don't multipost. Crosspost if you must post to multiple newsgroups.

Answered in alt.php.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация