Re: What design patterns do you usually use?

From: Date: Wed, 27 Feb 2008 19:17:42 +0000
Subject: Re: What design patterns do you usually use?
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.general 
Request: Send a blank email to php-general+get-270366@lists.php.net to get a copy of this message
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

« previous php.general (#270366) next »