Fizzbuzz written in java that is extensible and one line. uses fp and strategy patterns, where strategies are lambdas of type int -> bool
, or, in javas words, integer predicates.
ocean-moist / fizzbuzz Goto Github PK
View Code? Open in Web Editor NEWFunctional and extensible one-liner fizzbuzz in Java using streams and strategy pattern