Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
Can I borrow your eyes for debuging (Vector inside Vector)?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Roedy Green, post: 628357"] You can't use the while count idiom twice in a row since you can't redeclare the index variable in the same scope. There is also the general rule that it is best to narrow the scope of a variable to the absolute minimum. Making it overly broad just creates opportunities for unintended interactions, or other uses being overlooked in maintenance. And for those not afraid of Knuth, it suppresses various optimisations, such as putting an indexing value purely in a register. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
Can I borrow your eyes for debuging (Vector inside Vector)?
Top