RE: [PHP] Just for fun:

From: Date: Fri, 21 Sep 2001 01:00:37 +0000
Subject: RE: [PHP] Just for fun:
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68093@lists.php.net to get a copy of this message
One of my largest is a function of a complete session management class that I wrote - 150 lines. The class is ~ 450 lines. 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... -Jason Garber Lead Programmer - pulseaday.com At 08:40 PM 9/20/2001 -0400, Matthew Loff wrote:
-----Original Message----- From: Jason Bell [mailto:jbell@barkingrat.com] Sent: Thursday, September 20, 2001 8:32 PM To: PHP Users Subject: [PHP] Just for fun: Here is a question, just for fun: What is the biggest function (In terms of line count) you have ever written? I just finished one that is 100 lines long. That is by far my biggest.... It's a script initialization function that sets up database connectivity, creates all tables necessary for my script, and creates an administrative user. -Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.general (#68093) next »