by tech2 · 6y ago · 0 comments
def bob(cb, *args):
do some stuff...
Then the call: bob somefn, 2, 3
Works. But I remember having hellish times tracking down issues when you missed a single comma. bob somefn 2, 3
Now you have bob being passed the result of evaluating the callback (early) with 2, 3 - and this is discovered at runtime. Ugh!No comments yet.