News for hackers. Stuff that matters.
Re:PHP Frameworks Code Complexity Comparison by rc_bhg on Tuesday January 10, 2017 @09:38AM (#13365047)
I don't think this is a good argument for or against any framework. It's just an interesting side note.
Re:PHP Frameworks Code Complexity Comparison by deweller on Tuesday January 10, 2017 @11:43AM (#13366184)
From time to time, I need to understand what is going on under the hood of a framework to debug a problem or understand the best way to do things.

I find Laravel easy to understand when browsing code because of the short methods.

There are tradeoffs, of course, as sometimes it can take several hops through the code to trace down some functionality. But I prefer more short methods vs. one long method any day for readability.

Re:PHP Frameworks Code Complexity Comparison by zapt02 on Tuesday January 10, 2017 @11:05AM (#13365831)
In the case of Laravel vs Symphony, I think it can. Laravel packs absolutely everything you need to build a web app while still being less than half the size of Symphony, which has a lot less out of the box and expects a litany of third party packages to become functional.
Re:PHP Frameworks Code Complexity Comparison by tyingq on Tuesday January 10, 2017 @11:16AM (#13365921)
Laravel seems to pull in at least 9 pieces (probably more) of Symfony via composer: https://github.com/laravel/framework/blob/5.3/composer.json

Are those pieces counted in these statistics or the "half the size" thought?

Re:PHP Frameworks Code Complexity Comparison by zapt02 on Thursday January 12, 2017 @01:34PM (#13384831)
Good observation. Some of them appear to be debug packages (console, debug, var-dumper) and the others seem to be quite basic stuff (routing, http handling) that is good to reuse, and is also likely something you'll have in your Symfony projects.)
Re:PHP Frameworks Code Complexity Comparison by realityking on Tuesday January 10, 2017 @11:23AM (#13365981)
They're not. From the article:

> The primary goal of this comparison is to compare how I personally write code vs. how other projects are writing code.