[Gllug] ADVERT: Shell Scripting book

Alain Williams addw at phcomp.co.uk
Wed Jul 20 09:16:15 UTC 2011

On Wed, Jul 20, 2011 at 01:50:20AM +0100, Steve Parker wrote:

> If a programmer needs a variable name to be complete sentence, they are 
> probably doing something wrong.

There is a difference between a ''complete sentence'' and ''more than one word''.

Eg take the following possible variable names for the same thing, which one tells
you what it contains:


I would suggest one of the last 2 - which one according to preference.
I have seen people who use embedded capitals for global variables & _ in
variables local to a function.

Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
#include <std_disclaimer.h>
Gllug mailing list  -  Gllug at gllug.org.uk

More information about the GLLUG mailing list