4 ms·
IMO a big reason Python is popular is because so many big seemingly unrelated librarues (AI things, scipy, Pillow, pandas, GDAL rasters, matplotlib, etc) all wo
by Scarblac 3y ago
IMO a big reason Python is popular is because so many big seemingly unrelated librarues (AI things, scipy, Pillow, pandas, GDAL rasters, matplotlib, etc) all work with the "Numpy array" datatype and can therefore do things with each other's data.
- vineyardmike 3y agoRelatedly, this is why big companies (eg Google) all have internal standard interchange formats (eg Protos). It’s so every programmer and every service and every file stored can always be consumed or produced as needed. Even smaller companies I’ve seen end up with an “interfaces” or “types” repo that contains definitions of every external object.
- deleted 3y ago[deleted]
- chubot 3y agoYup, I agree that Python composes like Unix does, which is a reason for its phenomenal growth: Narrow Waists Can Be Interior or Exterior: PyObject vs. Unix Files - https://www.oilshell.org/blog/2023/06/narrow-waist.html https://www.oilshell.org/blog/2023/06/narrow-waist.html The appendix links to: Why is Python the language of machine learning? https://news.ycombinator.com/item?id=29171519 https://news.ycombinator.com/item?id=29171519 In particular, I highly recommend this bit of history from NumPy creator Travis Oliphant: https://www.youtube.com/watch?v=gFEE3w7F0ww https://www.youtube.com/watch?v=gFEE3w7F0ww