loop issue

hi everyone. i'm making a project and i was wondering:

- i use very often for() loop

But i could easy while() loop using instead.

And my question is which concept(loop) is more proffesional. can anybody think that for() loop is a little puerility or mz thinking is little improperiate, thanks for anz thoughts,

best regards!

alcatray

[372 byte] By [alcatraz123a] at [2007-11-27 7:41:28]
# 1
What's your reasoning behind the for loop being peurile?
georgemca at 2007-7-12 19:22:05 > top of Java-index,Java Essentials,Java Programming...
# 2
peurile-not pro way
alcatraz123a at 2007-7-12 19:22:05 > top of Java-index,Java Essentials,Java Programming...
# 3
> And my question is which concept(loop) is more> proffesional. Neither.> can anybody think that for() loop is a> little puerility Someone could think that, but I can't imagine why they would.
jverda at 2007-7-12 19:22:05 > top of Java-index,Java Essentials,Java Programming...
# 4
> peurile-not pro wayJust pretend I've re-asked my question here, I can't be bothered
georgemca at 2007-7-12 19:22:05 > top of Java-index,Java Essentials,Java Programming...
# 5
i'm using the 'for' loop whenever i know when it's gonna end (e.g. when i browse an array) and the "while" loop whenever i'm not able to predict when it's gonna endbut you can do as you wish, it does not really matter
calvino_inda at 2007-7-12 19:22:05 > top of Java-index,Java Essentials,Java Programming...