Tag Archives: functional

Pure functions in C/C++

Introduction Functions that only depend on their parameters and not on any global state are usually called pure functions. An example of a non-pure function is this: This function is a corner case. It doesn’t depend on the parameters at … Continue reading

Posted in Uncategorized | Tagged , , , , , , | 6 Comments