Tell me more ×
Code Review Stack Exchange is a question and answer site for peer programmer code reviews. It's 100% free, no registration required.

I give this names such as logFilePath:

C:\Users\Felix\Programming\Logfiles

I call this logFileName:

myprogram01.log

But when I have this:

C:\Users\Felix\Programming\Logfiles\myprogram01.log

I don't know what to call it. I want to use intuitive and consistent variable names.

How would you name these three strings?

share|improve this question
Questions here are expected to be requests for code reviews. – Winston Ewert Aug 11 '12 at 0:33

closed as off topic by Winston Ewert Aug 11 '12 at 0:33

Questions on Code Review Stack Exchange are expected to relate to code review request within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

1 Answer

up vote 3 down vote accepted

logFileName, logsDirPath, logFilePath == logsDirPath + logFileName

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.