Re: What design patterns do you usually use?

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

 



At 12:45 PM -0500 2/27/08, Nathan Nobbe wrote:
if i were going to design a system consisting largely of functions, i would
use the same practice i use for designing classes; each function would be
concise.  that is, if functions became large, eg over 20 - 30 lines

One of the things I've noticed over the span of decades is that my functions have gotten larger as my monitor size has.

This has lead me to conclude that function size is really dependant upon what you can "take-in" in at one time.

Fortunately/unfortunately, my eyesight is failing as my monitor size increases so I'm at a static size now for functions, usually not exceeding 20-30 lines.

Maybe the younger ones will remember this as they age and see if this holds true for them.

Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.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