. . "Otherwise yes, reusing your code is a yes yes, just do not iterate two times when you could easily done it once. share|improve this answer answered Mar 10 '14 at 19:32" . .