[snip]
>Is it small enough to be justified? 

I don't know, I just always thought of it as "clean" to write an 
application inside of a single file itself.  While I'm still fairly new 
to procedural programming, this may not be the proper way to do things.
[/snip]

A. It's not a dumb topic, just very broad.
2. Again, using a single file is OK if the size does not get out of
hand. Otherwise it becomes a management issue.
III. 'Proper', 'correct' and anything such as this is not applicable
really in PHP because there are so many ways to solve a problem (read
the archives and you'll see) such as your use of a giant nested IF to do
the same thing a SWITCH. If I ask you to add 1 to any number you might
do (provided we know that $a is numeric)...

$a = $a + 1;

I might do ....
$a++;

Is one better?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to