Re: indent, was re: Tutorial and guidelines: Coding standards
From: Randy Howard (randyhoward_at_FOOverizonBAR.net)
Date: 06/10/04
- Next message: Phlip: "Re: bored coder looking for code to debug"
- Previous message: David: "Re: Learning Code...Fast"
- In reply to: Arthur J. O'Dwyer: "indent, was re: Tutorial and guidelines: Coding standards"
- Next in thread: Arthur J. O'Dwyer: "Re: indent, was re: Tutorial and guidelines: Coding standards"
- Reply: Arthur J. O'Dwyer: "Re: indent, was re: Tutorial and guidelines: Coding standards"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 10 Jun 2004 03:05:23 GMT
In article <Pine.LNX.4.58-035.0406090943160.1765@unix46.andrew.cmu.edu>,
ajo@nospam.andrew.cmu.edu says...
> GNU 'indent' is in the aggravating position of being way, way
> better than anything I could code myself, but way, way worse than
> anything I'd actually want to use.
Well, perhaps my usage is different, but I mainly use it on
"other people's source" when it is indented in a way I can't
stand. I indent my own code, as I like it, out of habit and
almost never have a need to run it on my own source. As such,
I use it mainly to enhance readability of source, example some
open source project using the weenie GNU coding standards :-)
OTOH, gnu indent is also open source, so if it's usable for you
you could always take it and modify/extend it.
But, what could be easier than:
indent foo.c
??? I mean, come on, you don't want to use something that is
literally that straightforward once you have configured you
profile the way you like it? It's amazingly flexible, you
do the work once to tell it how you want it to handle a host
of semantic constructs, and then never have to touch it again
unless you change your own personal preferences. I fail to
see a problem there.
--
Randy Howard (2reply remove FOOBAR)
"The most amazing achievement of the computer software industry is its
continuing cancellation of the steady and staggering gains made by the
computer hardware industry..." - Henry Petroski
- Next message: Phlip: "Re: bored coder looking for code to debug"
- Previous message: David: "Re: Learning Code...Fast"
- In reply to: Arthur J. O'Dwyer: "indent, was re: Tutorial and guidelines: Coding standards"
- Next in thread: Arthur J. O'Dwyer: "Re: indent, was re: Tutorial and guidelines: Coding standards"
- Reply: Arthur J. O'Dwyer: "Re: indent, was re: Tutorial and guidelines: Coding standards"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|