[TYPO3-50-general] Common namings for variables with path-content

Ingmar Schlecht ingmar at typo3.org
Thu Jan 15 12:25:13 CET 2009


Hi Robert,

Robert Lemke schrieb:
> I just looked at some parts of existing FLOW3 code and saw that I almost
> consistently chose "pathAndFilename" (note: "Filename" but "ClassName").
> How about sticking to that?
> 
> In essence we'd then have:
> 
>  - path
>  - directoryName
>  - filename
>  - pathAndFilename

Sounds good.

With the possible addition of:

	relative / absolute + path / pathAndFilename

cheers
Ingmar

> I looked up "class name" and "filename" in various dictionaries + google
> and found out that "filename" as a word exists, but the official writing
> for the name of a class is "class-name" or "class name". Native speakers
> please correct me if I'm wrong ...

Seems fine to me (though I'm obviously not a native speaker).

cheers
Ingmar

-- 
Ingmar Schlecht
TYPO3 Core Developer


More information about the TYPO3-project-5_0-general mailing list