I want to use the correct term to make my API as intuitive as possible, so when it is expected that the parameter will be the full path and file name (for example, "C: \ Users \ Max \ Documents \ MyDocument.txt"), what is the correct term?
- filename - this will only be MyDocument.txt, right?
- path - it will only be C: \ Users \ Max \ Documents, right?
What should I use for the parameter name? Will the "file" match the name?
I feel stupid asking about it, but I want to make sure it is right.
language-agnostic parameters naming-conventions
Max schmeling
source share