php-general Digest 30 May 2012 14:04:33 -0000 Issue 7832

2012-05-30 Thread php-general-digest-help
php-general Digest 30 May 2012 14:04:33 - Issue 7832 Topics (messages 318024 through 318030): Re: Function size 318024 by: Paul M Foster 318025 by: Ashley Sheridan 318026 by: Tedd Sperling 318027 by: Paul M Foster 318028 by: Matijn Woudt

Re: [PHP] Re: Function size

2012-05-30 Thread Tony Marston
Ashley Sheridan a...@ashleysheridan.co.uk 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:

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 t...@marston-home.demon.co.uk Ashley Sheridan a...@ashleysheridan.co.uk 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

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 pa...@quillandmouse.com 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

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 code does? I'd go

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() and

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