_ is just as valid a variable name as x, or myVar, or THIS_AWESOME_VARIABLE_NAME.
It is used conventionally as a throwaway variable by many authors, assigning it to values we don't care about. Since we don't care about them, it doesn't matter if they get overwritten. It is good practice to declare this _ variable as local.
|