At 22:24 20.11.01 +1100, you wrote:
>On Tue, 20 Nov 2001 22:09, Thomas Singer wrote:
> > >15. refactoring to place immutable/constant values in first position in
> > >if()/while() etc expressions
> >
> > What do you mean?
>
>change "if( foo == 3 )" to "if( 3 == foo )"

At least for me this looks terrible odd, because I /read/ code:

  "if foo equals 3" sounds a lot better than "if 3 equals foo".

but ore hard:

  "if foo2 greater 3" vs. "if 3 smaller foo2"

Tom


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to