by mirzap · 4y ago · 0 comments
git clone https://github.com/statamic/cms.git
cd cms
git ls-files | wc
3133
find . -name '*.php' | xargs wc -l
...
225023 total
3133 files. 225023 lines of PHP code. Plus dependencies, which are not counted here.I am going for 1 file with 50 lines of code and no dependencies.
Using a project made of thousands of files and dependencies, there is way more maintenance ahead. Handling is slower and more cumbersome. If the project moves in a direction I don't like, maintaining a fork would be too much work.
I'm sure v3 is nicer though from the amount of times I've searched the docs with an issue and seen "fixed in v3".