Hacker News new | past | comments | ask | show | jobs | submit login

one can argue about how much of an exact science Tiobe or other indices are but Python definitely is everywhere and has continued to grow in a lot of domains. And I think deservedly so because to me it is by far the most pleasant and versatile general purpose language around. People have their legitimate gripes about performance but a language that is used for everything from scripting to gigantic industy scale applications (largest I'm aware of is a ~30 million LOC codebase at JPMorgan) has done some things right.



30MKLOC in Python? Largest I've seen is 500K and that was one overcooked codebase. So problematic. They were looking at a Java rewrite. I'd love to read a lengthy insider exposé on that JPM codebase.


I was curious about the LOC sizes of some well-known packages:

   % cd Python-3.9.1
   % wc -l `find . -name '*.py'` | tail -1
     843196 total
   % cd ~/clones/numpy
   % wc -l `find . -name '*.py'` | tail -1
     256900 total
   % cd ~/clones/scipy
   % wc -l `find . -name '*.py'` | tail -1
     397250 total
   % cd ~/clones/django
   % wc -l `find . -name '*.py'` | tail -1
     383167 total
That's not quite 2MLOC.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: