Gabriel Sechan wrote:
----------------------------------------
Date: Sun, 16 Mar 2008 17:21:11 -0700
From: [EMAIL PROTECTED]
To: [email protected]
Subject: Re: 8 space tabs, 80 column lines & small functions ever *bad* ?
Unfortunately, this is a *classic* C failure mode. Since nobody has an
editor that does autocomplete in C, everybody writes cryptic variable
names.
BS. I deal with a lot of C code- most of it uses good variable names, many of
which were written without autocomplete. I refuse to use any editor with
autocomplete, its the most annoying, pain in the ass feature ever dreamed up.
I'd like to meet the guy who thought of it, so I could beat him for it.
I like it in my Sun Java IDE. I think what makes it not annoying is the
user configurable delay before it is implemented. If I'm typing fast
enough, it ignores my input. If I pause (What was the name of that
method/class/variable?), it'll kick in. The more letters typed, the more
it narrows down the list. If there is Javadoc available for the object,
it'll give that as well.
Most of the C code I've dealt with - and a lot of Open Source code - has
been full of bad variable names. I guess this is a case of YMMV, but
I've known a lot of experienced engineers and programmers that have
found the same thing - code that is not self documenting and variables
names that are just crap.
PGA
--
Paul G. Allen, BSIT/SE
Owner, Sr. Engineer
Random Logic Consulting Services
www.randomlogic.com
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg