3 ms·
I'm not sure I agree. All the frameworks just mentioned do more or less the same thing and have comparable lines of code counts. - Django - 215,000 LOC (.py)
by deizel 13y ago
I'm not sure I agree. All the frameworks just mentioned do more or less the same thing and have comparable lines of code counts.
- Django - 215,000 LOC (.py)
- Ruby - 232,000 LOC (.rb)
- CakePHP - 240,000 LOC (.php)
- steveklabnik 13y agoRails is about 110,000 LOC, last I checked right before the 4.0.0 release, where'd you get that number?
- deizel 13y ago$ git clone https://github.com/rails/rails.git https://github.com/rails/rails.git && cd rails $ find . -name '*.rb' | xargs wc -l | tail -1 232424 total Maybe I should have said LOCC (lines of commented code)?
- evilduck 13y agoThat does include all of their unit tests code though. I wouldn't personally define unit tests as "core" framework code since I can deploy a Rails app without them (they never show up in a stack trace). It's going to come down to your own semantics since Rails wouldn't exist as it is today without them either.
- steveklabnik 13y agoAhhh, you know what? I just realized I was confused: the diff for rails 4 was about +110,000 / -100,000, that's what I'm remembering that number from. My bad!