Re: Error handling brainstorming

From: Date: Tue, 07 Aug 2012 06:53:15 +0000
Subject: Re: Error handling brainstorming
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-62078@lists.php.net to get a copy of this message
>> errors, you can't just fread the return value. You *need* to change your >> execution flow based on that error. Therefore, it is exceptional. > > That's exactly what I am saying. Exceptions should not be a means of > flow control, and that's exactly what are you doing here. I agree that exceptions should not be a means of flow control except when something exceptional has happened. The difference is between what you think is exceptional and what I do. Of course you are welcome to believe what you want to and voice your opinion, but I think I speak for the rest of us when I say, "We've heard your opinion, loud and clear." It's okay. Let the rest of us voice our opinions.

« previous php.internals (#62078) next »