|
|
|
|
|
by grobolom
4792 days ago
|
|
You know we've all seen helper.php files that are so monolithic Yes. This has nothing to do with flat functions vs. classes. I've seen 'helper' classes get shitted up just as much as function files. My point is that it doesn't matter. Many projects don't require heavy portability, and in either case, bootstrapping a namespaced shim next to your autoloader isn't a problem. I'm not arguing that if you have a very extensive functions library, you should separate it out. I totally agree that you should. But saying 'NEVER MAKE A FUNCTIONS FILE NEVER EVER EVER ON PAIN OF DEATH' is silly. |
|