classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] FYI: Added some real functionality to SystemFlavorMap


From: Tom Tromey
Subject: Re: [cp-patches] FYI: Added some real functionality to SystemFlavorMap
Date: 29 Nov 2005 09:47:24 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Jan" == Jan Röhrich <address@hidden> writes:

Jan> oh, I didn't know that these method invocations are faster. But I prefer
Jan> a more generalized code style. Ok it's a private field so this may be no
Jan> problem in this case. 
Jan> But are there any other opinions on that or is this somewhere defined in
Jan> a GNU/Classpath Code style?

AFAIK it isn't a defined style.

I have a slight preference for the more specific declaration.  For
private fields (and local variables) this doesn't hurt clarity or
maintainability, particularly if you do future refactorings with a
tool like eclipse.  And, it provides a small performance benefit.

Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]