I've seen some APIs that have a def foo
and then a slightly different def foo1
, but I can't figure out what this means other than "foo1
is kind of like foo
but slightly different." It reminds me of "Ex" ( What does "Ex" stand for in Windows API function names? )
I'm guessing this is a reference to a Haskell/FP or mathematical convention, is it just foo-prime?
Is there any meaning implied (does foo1
have to relate to foo
in some specific way) or is it more "I needed two similar functions and overloading was ambiguous, screw it, let's put a 1 on the end"? Should I assume anything beyond "these two functions are somehow related"?