Andrew Woodward recently posted a comparison of his test-driven Prime Factors solution to one written by Uncle Bob . In the comments, someone suggested that Andrew use an iterator instead so I thought I'd give it a try. First, let's repost the original...