Quote:
Originally Posted by Jakez
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.