RE: [PHP] Re: Function size

2012-05-30 Thread admin
-Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: Wednesday, May 30, 2012 10:54 AM To: php-general@lists.php.net Subject: Re: [PHP] Re: Function size On Wed, May 30, 2012 at 04:31:12PM +0200, Sebastian Krebs wrote: [snip] > > If the functions were named p

Re: [PHP] Re: Function size

2012-05-30 Thread Paul M Foster
On Wed, May 30, 2012 at 04:31:12PM +0200, Sebastian Krebs wrote: [snip] > > If the functions were named properly you don't have to follow every > execution path to the deepest deep. Or do you reading PHPs C-source, just > because a wild "substr()" appeared? When you see a method "loadFromFile()

RE: [PHP] Re: Function size

2012-05-30 Thread Steven Staples
> Paul, > > Are you stating here that compression is a bad thing? > > That means you consider this nice: > > if ( action == A ) > { > doA(); > } > else if (action == B ) > { > doB(); > } > else > { > doC(); > } > > Or perhaps flooded with comments that merely say the same as the cod

Re: [PHP] Re: Function size

2012-05-30 Thread Paul M Foster
On Tue, May 29, 2012 at 11:40:25PM +0200, Matijn Woudt wrote: [snip] > On Tue, May 29, 2012 at 11:06 PM, Paul M Foster > wrote: [snip] > > > > I think a lot of coders try to be kewler than the next 18 guys who are > > gonna have to look at the code, so they use a lot of "compression" > > tech

Re: [PHP] Re: Function size

2012-05-30 Thread Sebastian Krebs
Hi, Just want to throw my 2 cent in :) 2012/5/30 Tony Marston > > "Ashley Sheridan" wrote in message > news:1338326229.2616.31.camel@localhost.localdomain... > > On Tue, 2012-05-29 at 17:06 -0400, Paul M Foster wrote: > > > >> On Tue, May 29, 2012 at 08:52:46AM +0100, Tony Marston wrote: > >>

Re: [PHP] Re: Function size

2012-05-30 Thread Tony Marston
"Ashley Sheridan" wrote in message news:1338326229.2616.31.camel@localhost.localdomain... > On Tue, 2012-05-29 at 17:06 -0400, Paul M Foster wrote: > >> On Tue, May 29, 2012 at 08:52:46AM +0100, Tony Marston wrote: >> >> > On May 21, 2012, at 8:32 PM, tamouse mailing lists wrote: >> > > A rule