In PHP, is there any performance impact on using one long class with a lot of functions in it? Or is it advisable to use many small classes and call them separately when needed?
Very long classes with a lot of methods and properties are very difficult to understand.
A set of well-designed classes with meaningful class names, method names and variable names are very easy to understand especially when it comes to maintenance period.