Do you trust the "indent" program?

Rick Stevenson rick at ptcburp.ptcbu.oz.au
Mon Dec 24 16:21:58 AEST 1990


forrest at sybase.com writes:
>Let's say your company just decided on a coding standard and let's
>say you were able to come up with a specification file for the
>'indent' program that would allow 'indent' to change all your
>1000's of source files to meet the standard. Do you trust 'indent'
>enough to run it on all your source file without making any mistakes?
>By mistakes I mean changes that actually change your code so that it
>does something different than what it did before you ran it through
>'indent'.

Why don't you run a copy of your src files through indent, recompile,
and compare new object files with the old versions? The proof of the
pudding...

Rick.
--
      -m-------   Rick Stevenson
    ---mmm-----   Pyramid Technology		     +61 75 522475 FAX
  -----mmmmm---   Research Park, Bond University     +61 75 950249 VOICE
-------mmmmmmm-   Gold Coast, Q 4229, AUSTRALIA	     rick at ptcburp.ptcbu.oz.au



More information about the Comp.lang.c mailing list