> On Tue, 5 Mar 2002, Jon Skeet <[EMAIL PROTECTED]> wrote: > > > Note that what *isn't* needed is the nasty: > > > > if (5==i) > > > > which is often encountered in C. > > You know why you do this in C, right?
Absolutely. I'm eternally greatful it's unnecessary in Java :) > For the same reason one would write > > if (true == someFlag) > in Java. No, one would write: if (someFlag) - at least if you're me! Jon -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
