The reason to make parameters const is to ensure that they are not changed by the function. This guarantees the caller of the function that the parameters they pass in will not be changed. Modifier const helps you from side effect-related changes of variable mucking up your data in situations where you might not expect it. It is very important in C++ type safety.