3 ms·
Recently I was musing to myself about adopting the convention `func_r`, to denote "the thing that the function `func` returns". Why spend the energy trying to
by cxr 3y ago
Recently I was musing to myself about adopting the convention `func_r`, to denote "the thing that the function `func` returns".
Why spend the energy trying to think up two names (one for the function you're writing and one for what you should call the type of its result)? It's also amenable to preprocessor macros, if you're so inclined.