Re: Function size

From: Date: Wed, 23 May 2012 16:15:45 +0000
Subject: Re: Function size
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-317953@lists.php.net to get a copy of this message
On May 23, 2012, at 11:49 AM, shiplu wrote: > On May 21, 2012, at 8:32 PM, tamouse mailing lists wrote: > When number of lines becomes the criteria of function size? Wouldn't it depends on the > task the function is doing? You missed the point. Of course, the difficulty of the task of a specific function will directly contribute to the number of lines of code for that function, but that's not what I was talking about. What I was talking about was that what we can grasp in one view, we can understand better. If the code lies outside of our view, then we understand it less. I can support this claim with numerous articles/books/studies of human visual limits vs short-term memory. I am only bringing this forward for us to consider in our writing code. If we know why we do things, then we can better understand what we do. Cheers, tedd _____________________ tedd@sperling.com http://sperling.com

« previous php.general (#317953) next »