Re: functions, opinion...

From: Date: Tue, 17 Jun 2003 04:11:33 +0000
Subject: Re: functions, opinion...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-151778@lists.php.net to get a copy of this message
Dan Joseph wrote:
Hi,
           Just kind of curious what people think.  In your opinion,
should a function avoid output? What I mean by that, is should a function on "do something" without having echo or printf commands in it? This is something I've been thinking about lately to improve my programming style. Opinions? -Dan Joseph Most functions I use don't output anything, but there's always going to be a case where a rule must be broken.
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#151778) next »