Yes, using the enhanced for loop makes sense only if the index is not important.