Re: Style issues.

2002-08-21 Thread Peter B. West
remote monastery.) Peter Arved Sandstrom wrote: -Original Message- From: Peter B. West [mailto:[EMAIL PROTECTED]] Sent: August 20, 2002 9:51 PM To: [EMAIL PROTECTED] Subject: Re: Style issues. [ SNIP ] The only encoding rule I'd realy like to have: Don't mix underscores

Re: Style issues.

2002-08-21 Thread Jim Wright
: August 20, 2002 9:51 PM To: [EMAIL PROTECTED] Subject: Re: Style issues. [ SNIP ] The only encoding rule I'd realy like to have: Don't mix underscores with camelCase. Beside looking *really* ugly, it screws up Emacs' dynamic identifier completion, and I'd rather like to do something

Re: Style issues.

2002-08-21 Thread Peter B. West
Jim Wright wrote: Ah, the rich diversity of life on earth! (Incidentally, I think the red stars might be disappearing from mozilla. Perhaps the name of God has been spoken in some remote monastery.) Now, THERE's an obscure reference to an old Ray Bradbury(?) story. Yeesh ;-) -- Peter

Re: Style issues.

2002-08-21 Thread J.Pietschmann
Peter B. West wrote: a more iterator like pattern: while (hasNextLM()) { curLM = nextLM(); ... the first idiom is actually easier to follow. I suppose you could say, if you needed such a crutch, that it was a pattern. The problem is, the Java libraries use the

Re: Style issues.

2002-08-21 Thread Karen Lease
Arved Sandstrom wrote: -Original Message- From: Peter B. West [mailto:[EMAIL PROTECTED]] Sent: August 20, 2002 9:51 PM To: [EMAIL PROTECTED] Subject: Re: Style issues. [ SNIP ] The only encoding rule I'd realy like to have: Don't mix underscores with camelCase. Beside

Re: Style issues.

2002-08-21 Thread J.Pietschmann
Karen Lease wrote: Arved Sandstrom wrote: I may be a person who is ill-qualified to comment on variable names. Hmm, perhaps that is my problem too; I still remember the PDP3 I had to boot with the front panel switches to make it read the paper tape and when I screwed up, I had to

Re: Style issues.

2002-08-21 Thread Karen Lease
Your explanation couldn't be clearer. I now understand why the underscore doesn't bother me so much even though I'm not such a Heathen as not to use Emacs: 1) I type on a french keyboard and I don't have to shift to get the underscore character (only to get most every other useful character

Re: Style issues.

2002-08-20 Thread Peter B. West
J.Pietschmann wrote: Karen Lease wrote: if ((bp = getNextBreakPoss(childLC, null)) != null) { Probably comes from long years of writing C and C++ and avoiding extra lines of code. Must be taste since I don't find it that bad, but if we all vote it out in the style rules, I'll

RE: Style issues.

2002-08-20 Thread Arved Sandstrom
-Original Message- From: Peter B. West [mailto:[EMAIL PROTECTED]] Sent: August 20, 2002 9:51 PM To: [EMAIL PROTECTED] Subject: Re: Style issues. [ SNIP ] The only encoding rule I'd realy like to have: Don't mix underscores with camelCase. Beside looking *really* ugly

Re: Style issues.

2002-08-20 Thread Kevin O'Neill
snip/ if ((bp = getNextBreakPoss(childLC, null)) != null) { Probably comes from long years of writing C and C++ and avoiding extra lines of code. Must be taste since I don't find it that bad, but if we all vote it out in the style rules, I'll agree to banish it! It comes from

Re: Style issues.

2002-08-19 Thread Karen Lease
recognize some of my code J.Pietschmann wrote: Hello all, I just took a more extended look at CVS HEAD. There are some style issues which caught my eye. 1. I'd appreciate if indentation uses spaces instead of tabs. And because I can avoid using tabs, I expect everyone else avoiding tabs

Re: Style issues.

2002-08-15 Thread Kevin O'Neill
5. I don't think naming styles should be mixed without good (and preferably explained) reason: boolean m_bInited = false; Yuck! Actually I really like to be able to tell members from parameters and local variables. I tend to use an _ before member variables (eg _currentPage)

Re: Style issues.

2002-08-15 Thread Jeremias Maerki
I know that's probably unpopular but I usually like to reference member variables like this: this.currentPageNumber = pageNumber + 1; That is a bit more to write but I don't particularly like underscores in names. On 15.08.2002 12:40:06 Kevin O'Neill wrote: 5. I don't think naming styles

Re: Style issues.

2002-08-15 Thread Kevin O'Neill
On Thu, 2002-08-15 at 20:59, Jeremias Maerki wrote: I know that's probably unpopular but I usually like to reference member variables like this: this.currentPageNumber = pageNumber + 1; I used to use that convention except that someone always forgets to do it and your back where you started.

Re: Style issues.

2002-08-15 Thread Jeremias Maerki
On 15.08.2002 13:01:51 Kevin O'Neill wrote: On Thu, 2002-08-15 at 20:59, Jeremias Maerki wrote: I know that's probably unpopular but I usually like to reference member variables like this: this.currentPageNumber = pageNumber + 1; I used to use that convention except that someone always

Style issues.

2002-08-14 Thread J.Pietschmann
Hello all, I just took a more extended look at CVS HEAD. There are some style issues which caught my eye. 1. I'd appreciate if indentation uses spaces instead of tabs. And because I can avoid using tabs, I expect everyone else avoiding tabs too. 2. I'd really, really appreciate

Re: Style issues.

2002-08-14 Thread Peter B. West
pietsch, Style judgements are a very personal matter. Personal tastes follow. J.Pietschmann wrote: 1. I'd appreciate if indentation uses spaces instead of tabs. And because I can avoid using tabs, I expect everyone else avoiding tabs too. This is pretty much a necessity because of