Martijn , , - , ... .
:
from bar import *
from baz import *
from qux import *
def breakfast(x):
with corn_beef_hash(x) as yummy:
for egg in yummy:
yield ham(egg.scrambled)
Now, after a few months, you cannot remember what it actually does corn_beef_hash, so you look at the documentation, except that you cannot remember whether it was corn_beef_hashpart baror bazor qux. This makes tracking difficult. Also, if you know where the function was originally defined, this gives you some clues about what it should do, which may make it easier to read the code.
source
share