3 ms·
The sad part is that there is actually an advantage to abstracting out the printing of fizz and buzz, and that is it will be easier to test. But the authors di
by peeters 12y ago
The sad part is that there is actually an advantage to abstracting out the printing of fizz and buzz, and that is it will be easier to test. But the authors didn't even swap in a testable printing strategy, they just changed System.out.