3 ms·
So your argument is that C does not have strong module encapsulation, then you argue that Python does. That is just plain false, since a Python module can triv
by mgaunard 3y ago
So your argument is that C does not have strong module encapsulation, then you argue that Python does.
That is just plain false, since a Python module can trivially be tainted by what you import before, and the Python environment is widely known for its dependency hell.
Meanwhile C modules, once compiled, can be fully isolated from what you link against them, depending on build and link settings.
Non-local bugs is just a matter of sharing state across a module boundary. Memory errors is just a very small subset of the possible bugs you can have in a program, and preventing them doesn't magically solve all the other more important bugs.