Convention/standard for naming files, functions and variables
fn42551 at fmi.uni-sofia.bg
Sat Jan 3 11:31:57 PST 2009
Matthew Burgess wrote:
> On Sat, 3 Jan 2009 19:50:37 +0200, "Angel Tsankov"
> <fn42551 at fmi.uni-sofia.bg> wrote:
>> Matthew Burgess wrote:
>>> Naming functions in shell scripts should really follow the standard
>>> programming convention of calling them by the verb(s) that most
>>> describe what the function does. e.g. truncate(), replace(),
>> That's reasonable, but if the name contains more than one word do
>> you use lowerCamelCase, underscores, hyphens or smth else to
>> separate the words?
> I happen to use lowerCamelCase.
Do you use lowerCamelCase also to name your files and do you differentiate
shell scripts, music/video files, books when it comes to file names?
More information about the lfs-chat