Re: Re: [PEPr] +1 for Math::Math_Fraction

From: Date: Wed, 01 Dec 2004 16:52:14 +0000
Subject: Re: Re: [PEPr] +1 for Math::Math_Fraction
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-34703@lists.php.net to get a copy of this message
On Dec 1, 2004, at 9:25 AM, Kouber Saparev wrote:
CS issues: -make sure lines are wrapped at 75-85 characters - '}else {'
Fixed. Thanks for noticing it. :)
Only include PEAR.php when necessary.
How do you mean?...I'm using include_once, which if I remember well, was discussed here to be the right way of including PEAR?
I'm talking about lazy-loading it. Honestly this isn't an official CS issue, maybe just a pet-peeve. It doesn't appear that you need PEAR unless you encounter an error. So why not wait to include PEAR.php when you've reached that error situation? -ryan - http://theryanking.com/blog

« previous php.pear.dev (#34703) next »