4 ms·
These projects are gigantic: git clone https://github.com/statamic/cms.git cd cms git ls-files | wc 3133 find . -name '*.php' | xargs wc -l
by mg 4y ago
These projects are gigantic:
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.
- mirzap 4y agoGood luck with that. Personally I don't see a point in avoiding dependencies. I'll always trust more software that is built on collective wisdom with carefully picked dependencies, rather than a single (or couple) geeks that put everything in single file, avoiding dependency hell. To me that's a red flag.
- mg 4y agoWith a single script with 50 lines of code, I will forever be able to pick it up again, understand it, use it, improve it. Handling will be quick. No installation, just copy the script, run it, done. 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.