What does suffix _ex mean in function name

What does suffix _ex mean in function name?

A single-argument function with a return value and no side effects is called a pure function. The function returns different results for different input values, but it doesn’t have any side effects. In other words, the result doesn’t depend on the calling context. The suffix _ex is added to pure function names when they’re reimplemented in C# to allow for extensibility

What does the suffix ex mean in function name?

The suffix ex means an exponent, that is, an operation that should be done to the base of another number. An example of an exponent is square root—it should be done to the number itself. So, logaritm is a function that should be done to the base number and returns the logarithm of the input number.

What does the ex in the function name mean?

Some function names end with the suffix _ex. This is used when the function is named after an error code. For example, the following function is named after the error code for SQLite: sqlite3_errstr()

What does the ex in a function name mean?

In most cases, the ex in a function name is not a small “e” but a little lowercase Greek letter theta, called the “epsilon sigma”. The function name is formed by taking the name of the variable, prepending an underscore, adding the meaning of the suffix (ex in this case), and adding the name of the variable again. The function name, therefore, is a concatenation of the name of the variable and the meaning

What does the suffix _ex mean in a function name?

The C++ function suffix _ex is used to indicate that the return value of the function is an extended error code. An extended error code is a value that can represent more than just the normal error codes associated with C++. It can be customized by the programmer.