On 2002.11.11, Peter M. Jansson <[EMAIL PROTECTED]> wrote:
> If you are an emacs user, then the tab key means "indent this line to the
> proper level", and you don't care whether it uses tabs or spaces (but
> spaces work out better on many printers).

If you're a vi user, the tab key means "indent this line to the next
identation level".  Saying "proper level" suggests that there is such a
thing.  Too many times I've seen code come from an emacs user that looks
ridiculous, like this:

static someUserDefinedType *myFooMethodName(int someFooVariable,
                                            char *someFooString,
                                            int whatTheHellAmIDoingWayOutHere)
{
    // code
}

I'm sorry, if that's "proper level" then I'd rather stay with K&R C
function prototypes, as antiquated as they are.

With regard to printing source, with hard tabs I can pipe source through
'pr -t -e8' and it prints out great.  And, I can choose my own
indentation level, not get stuck with the indentation level of the
person who wrote the code.

> I'll suggest, though, that there is little good to be had in this
> discussion, [...]

You're right.  Jerry simply asked a question, I answered, and there's
very little good to be had but at least Jerry understands me a little
better now.

-- Dossy

--
Dossy Shiobara                       mail: [EMAIL PROTECTED]
Panoptic Computer Network             web: http://www.panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)

Reply via email to