View Single Post
Old 03-31-2010, 05:37 AM  
LustyVixens
Registered User
 
LustyVixens's Avatar
 
Join Date: Feb 2010
Posts: 79
Quote:
Originally Posted by Jakez View Post
Is 4500 lines of codes nothing? I think 2 lines of code could be SOMETHING depending on what they are.. hell I could very easily fit and entire tube script into 4500 lines..
He mentions the file contains functions and as I mentioned, there would be no obvious impact if the functions don't perform CPU-intensive tasks (in which case there would be an impact anyway, even if the intensive code was in its own file). Rather than concentrating on the number of lines as an indication of "excessive", rather ensure that the code within the file is written efficiently and clearly.

I of course don't support loading a file up with so many functions - it makes it hard to maintain. Optimal use of design patterns (notably MVC) should allow you to modularise your code more efficiently.
LustyVixens is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote