Re: Should examples be CLI or WEB output?
| From: | Daniel Convissor | Date: | Fri, 23 Apr 2010 12:15:50 +0000 |
| Subject: | Re: Should examples be CLI or WEB output? | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969381692@lists.php.net to get a copy of this message | ||
Hi Richard:
On Fri, Apr 23, 2010 at 10:45:07AM +0100, Richard Quadling wrote:
>
> Just looking through some of the DateTime examples and noticed that
> they are using <br /> as a line terminator.
I agree, CLI output is preferable.
Several of the DateTime examples are overblown in general. The one
DateTime::add() <example> has six sample statements in it. For such a
simple function, only one example is necessary.
I'm in the middle of doing a spring cleaning on the DateTime docs.
Integrating and pruning user comments, improving the format and
simplifying examples. I'll change the <br />'s as part of that.
Thanks,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409