Re: cpp: Gratuitous code formatting change
- From: "Sam Couter" <scouter bigpond net au>
- To: orbitcpp-list <orbitcpp-list lists sourceforge net>,orbit-list <orbit-list gnome org>
- Subject: Re: cpp: Gratuitous code formatting change
- Date: Sat, 2 Mar 2002 12:00:14 +1100
Chris Waters <xtifr@debian.org> wrote:
> From the info file:
>
> "While an attempt was made to get `indent' working for C++, it will
> not do a good job on any C++ source except the very simple."
>
> That's not the (quite) same as not working. I actually ran indent on
> the example Murray provided, and the result looked fine. I've also
> used indent on other C++ code in the past and been perfectly satisfied
> with the results. Maybe we should try out some more complex
> real-world examples, and see if it's good enough for our purposes.
I figured that the stubs and skeletons generated by orbit-idl were far
from simple, and that indent would not be helpful.
And yesterday, out of curiosity (and a desire to be able to actually
read the code I was looking at) I ran indent on some of the generated
code. Nasty, total failure. I'm confident that indent does not solve any
formatting problems for the generated C++ code.
--
Sam "Eddie" Couter | mailto:scouter@bigpond.net.au
Debian Developer | mailto:eddie@debian.org
| jabber:sam@jabber.topic.com.au
OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C
PGP signature
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]