RE: [PHP] Just for fun:

From: Date: Fri, 21 Sep 2001 01:56:59 +0000
Subject: RE: [PHP] Just for fun:
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68098@lists.php.net to get a copy of this message
>When you find yourself writing HUGE functions, it may be better to split it >into smaller, more clearly defined functions or classes and do it that way... I totally agree i tend to split my class functions into user (public) and private (helper) functions which does tend to keep all the functions nice and compact the user functions usually just combine a number of the helper functions together, don't know if this the best way but works for me (c: Regards, Joseph

« previous php.general (#68098) next »