Hi Przemek,

On Thu, 02 Oct 2008, Phil Barnett wrote:

Hi Phil,

3) I'd like to have a switch that warns me if I've used "=" where is
"ambiguos".
My Click! source code reformattor does this conversion for you in many cases.

Maybe we can use it for Harbour .prg source formatting?
I noticed that each of us has some own personal preferences
and formats .prg code in a little bit different way.
Some .prg code formatter like indent for .c can nicely help
here.
Viktor what do you think?

Talking about core, I've formatted most of them
to a consistent style, maybe there are still
some differences here and there, but it should be
mostly okay. If there still are some, I'd gladly format
them manually. [ I skipped only those where there
was a detectable consistent style. ]

As for contrib, I'm a bit hesitant of using any
automated code formatting tools either, as they tend
to do some things which I don't really like. With all
due respect to Click! and no offense, but I've
been cleaning Click! formatted code in hbdoc/hbmake,
and it was a bit of a pain.

And as an aside, I used to find out how some parts
work and usually also find/fix some problems along
the way, so formatting is not just for the sake
of style.

For some really nastily formatted code, Click!
could do a good service to condition the code
to a usable state though, but as a final or
standard processing tool I wouldn't choose this
route.

Anyways I'll give it a shot to see if I can get
a good setup for Harbour.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to