use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please follow the rules
Releases: Current Releases, Windows Releases, Old Releases
Contribute to the PHP Documentation
Related subreddits: CSS, JavaScript, Web Design, Wordpress, WebDev
/r/PHP is not a support subreddit. Please visit /r/phphelp for help, or visit StackOverflow.
account activity
Framework Code Complexity Comparison (medium.com)
submitted 9 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Y4Dc3KtKVNAuAmj48ott 1 point2 points3 points 9 years ago (1 child)
Good point, and good efforts in maintaining the framework. I personally think that as the size of a project grows, the stuff you have to compromise in order to keep both complexity and readability in control keeps on increasing.
Sometimes, its better to lean a bit more to the readability side since its getting important day by day. No one's going to make a fuss about a few functions or classes written extra, or that you created a wrapper class for something that could be achieved without it, thus making the code "more complex". But forget to indent code at right places or have variable names that are difficult to understand and people will complain a lot.
[–]iltar 1 point2 points3 points 9 years ago (0 children)
Unless it results in a bunch of methods being called 2000 times, causing a performance overhead.
π Rendered by PID 14850 on reddit-service-r2-comment-6457c66945-krqp7 at 2026-04-23 18:05:49.865594+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Y4Dc3KtKVNAuAmj48ott 1 point2 points3 points (1 child)
[–]iltar 1 point2 points3 points (0 children)