Re: Function size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx
>> > 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@xxxxxxxxxxxx
http://sperling.com



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux