ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <jon.sk...@peramon.com>
Subject RE: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Jar.java
Date Tue, 05 Mar 2002 14:52:37 GMT
> On Tue, 5 Mar 2002, Jon Skeet <jon.skeet@peramon.com> 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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message