diesieben07
10/25/2018, 2:24 PMfunction1(foo())
and function2(foo())
should always call the same version of foo
. This becomes especially important if function1
and function2
are from a library. If that library changes the method signature in a subtle but compatible way, you suddenly might get a different foo
being called, without any changes to your source files. This is very unintuitive and a source for tricky bugs.