Re: Function size

From: Date: Fri, 25 May 2012 12:42:46 +0000
Subject: Re: Function size
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-317998@lists.php.net to get a copy of this message
On May 24, 2012, at 5:01 PM, Ashley Sheridan wrote: > On Thu, 2012-05-24 at 15:48 -0500, tamouse mailing lists wrote: >> On May 23, 2012 9:14 AM, "Tedd Sperling" <tedd@sperling.com >> > wrote: >> > >> > H >> Yes, I think that is *exactly* the criterion-- not a mystery or an emergent >> thing, really, was a pretty expicit reasoning--being able to see/scan the >> entire function on one page (or now in one screenful) makes it much easier >> to see what happens in the function, where blocks open/close, and it forces >> one to break up code into logical units. >> > > With the odd exception being where code is more readable in a longer format, as seen with my > and several others examples of long functions that rely heavily on switches. > > -- > Thanks, > Ash Yep, not everything can it -- there are exceptions. Cheers, tedd _____________________ tedd@sperling.com http://sperling.com

« previous php.general (#317998) next »