Preferred Editor(s) (176)

117 Name: #!/usr/bin/anonymous : 2008-11-02 15:46 ID:8jr9/MCr

>>87

>do you name it "strPathName"

No, you establish proper hungarian notation standards for your project and/or company, and name it fqfnRequestedFile (or cfn for canonical filename after resolving links, etc), because the compiler doesn't need you to name the variable "str" to know that it's a string, and you're looking at the function definition where the parameter is declared as a string so a sane human wouldn't need the name to know that either.

Also to the people griping about how caring about relative vs absolute paths is wrong: consider the case of server applications with permissions on given directories, and you need to know what directory your file is actually in.

On topic: vim

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: