RE: [OT?] Coding Style

Jonathan Earle (jearle@nortelnetworks.com)
Tue, 23 Jan 2001 10:41:49 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C08552.FFC336D0
Content-Type: text/plain;
charset="ISO-8859-1"

I prefer descriptive variable and function names - like comments, they help
to make code so much easier to read.

One thing I wonder though... why do people prefer 'some_function_name()'
over 'SomeFunctionName()'? I personally don't like the underscore character
- it's an odd character to type when you're trying to get the name typed in,
and the shifted character, I find, is easier to input.

Cheers!
Jon

> -----Original Message-----
> From: Steve Underwood [mailto:steveu@coppice.org]

Some people still seem to be living in the age of K&R C, with 6 or 7
character variable names that demand some explanation. Maybe some day
they will awake to the expressive power of long (and well chosen) names.

------_=_NextPart_001_01C08552.FFC336D0
Content-Type: text/html;
charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
RE: [OT?] Coding Style

I prefer descriptive variable and function names - = like comments, they help to make code so much easier to read.

One thing I wonder though... why do people prefer = 'some_function_name()' over 'SomeFunctionName()'?  I personally = don't like the underscore character - it's an odd character to type = when you're trying to get the name typed in, and the shifted character, = I find, is easier to input.

Cheers!
Jon

> -----Original Message-----
> From: Steve Underwood [mailto:steveu@coppice.org]=

Some people still seem to be living in the age of = K&R C, with 6 or 7
character variable names that demand some = explanation. Maybe some day
they will awake to the expressive power of long (and = well chosen) names.

------_=_NextPart_001_01C08552.FFC336D0--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/