Do you trust the "indent" program?
Dave P. Schaumann
dave at cs.arizona.edu
Sun Dec 30 17:55:10 AEST 1990
In article <1990Dec30.054537.17537 at ncs.dnd.ca> balkwill at ncs.dnd.ca (Bob Balkwill) writes:
>Why would anyone want to indent code that alreay compiles, thereby
>permitting a diff of the object code? Indent is invaluable (IMO) in
>porting code that looks yucky but the code is nowhere near compilable
>at that stage.
Imagine you have just inherited some working code, on the machine it was
intended for. (The author won the lottery...). Imagine that the author
used the Code Style From Hell. Here you have a situation where you want
to re-indent functioning code. (Masochists excepted, of course...)
>Bob Balkwill Operations Research and Analysis Establishment
>balkwill at ncs.dnd.ca DND, Canada
>----
Dave Schaumann | You are in a twisty maze of little
dave at cs.arizona.edu | C statements, all different.
More information about the Comp.lang.c
mailing list