Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2006 07:01:37 +0300
From:      "Matti J. Karki" <mjk@iki.fi>
To:        "FreeBSD Questions" <questions@freebsd.org>
Subject:   Re: Code beautifiers, anyone?
Message-ID:  <1b15366e0608242101k7791caa6sd8c69e2954ac313a@mail.gmail.com>
In-Reply-To: <332C8C2B-21CD-4461-9C6A-325CB3D487A0@HiWAAY.net>
References:  <7.0.1.0.2.20060824145822.0194fc10@broadpark.no> <1b15366e0608240618j62d41ad3j537f095b2e566ed5@mail.gmail.com> <7.0.1.0.2.20060824192439.02386de8@broadpark.no> <1b15366e0608241500j5f1b4662p9a0d9cd811de841f@mail.gmail.com> <332C8C2B-21CD-4461-9C6A-325CB3D487A0@HiWAAY.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/25/06, David Kelly <dkelly@hiwaay.net> wrote:
>
> On Aug 24, 2006, at 5:00 PM, Matti J. Karki wrote:
>
> > On 8/24/06, Kyrre Nyg=E5rd <kyrreny@broadpark.no> wrote:
> >>
> >> Perhaps you could share with us whatever scripts you've written?
> >>
> >
> > Totally forgot to include the actual intendation script.
>
> I'm just a bit confused about the fascination with scripts for cleaning
> up code. Is it the desire to clean up more than just C?
>

Yes. I know, that this is reinventing the wheel. Also, home-made
scripts tend to be less reliable compared to dedicated tools. But I
have to deal with C, C++, Java, Visual Basic and XML files and also
some pretty obscure internal data files. With my own scripts I have
total control over the style. I use scripting quite a lot to help me
with my work and in addition to readability or style, I also use
scripts for generating documentation and even to generate pieces of
the final files from other data sources.

So, in my case, I just have found out that instead of using bunch of
ready-made tools and spending time tweaking the settings and learning
to run them, I reach my goal faster and with desired results by doing
things myself.


        -Matti



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1b15366e0608242101k7791caa6sd8c69e2954ac313a>