wakingrufus10/09/2017, 8:14 PM
Markus Bergkvist10/11/2017, 6:06 AM
does two things; generating a list of fizzbuzz-numbers and present the list (print). I would separate the two (single responsibility principle) and either have
return the list of fizzbuzz-numbers or perhaps even better, yield the values, and the do presentation somewhere else. Thus making DI superfluous in this case.
wakingrufus10/11/2017, 12:08 PM