Tuesday, February 14, 2012

Loops

Some of the loops are kind of confusing. Its not so much the implementation of them, that's easy, but its knowing when to use certain things. For some reason, I just have a bit of trouble with while and for loops in particular, as the times when they would be appropriate can kind of blur together. It was a little bit aggravating on the project, as I didn't notice when it specifically requested a for loop, and had to set up a fairly convoluted while loop before I thought of using a for loop. Its not a huge deal, but it can be a bit irritating.

No comments:

Post a Comment