3 ms·
> The namespaced part of the import. To me this is the primary benefit (although the file mapping is convenient). As to python... it is impossibly more flexib
by m463 6y ago
> The namespaced part of the import.
To me this is the primary benefit (although the file mapping is convenient).
As to python... it is impossibly more flexible than C. I have done silly stuff like reading all the files in a directory, then i imported all the python files I found.
I think C is not very deep, but it is very well known.
- dj_mc_merlin 6y agoThat's an apples to oranges comparison. Python is interpreted, and can guess what the programmer wants much better than a compiler that has to output actual machine code. > I think C is not very deep Depends on what you're using it for, I suppose. For low level stuff I enjoy the fact that I can largely tell the shape of assembler from C code. What does Python really execute when I do `f = open('file', 'rb')`?