EnterpriseQualityCoding / FizzBuzzEnterpriseEdition

FizzBuzz Enterprise Edition is a no-nonsense implementation of FizzBuzz made by serious businessmen for serious business purposes.
21.29k stars 751 forks source link

Change in business requirement #350

Open amithKrishnan opened 6 years ago

amithKrishnan commented 6 years ago

We have a business requirement to change the list of numbers that should be divisible by 3. We want all numbers above 25 to be divisible by 3 and all numbers between 101 and 193 to be divisible by 5. Can you extend this ASAP to support this so that we can align with our quarterly OKRs?

wizzwizz4 commented 6 years ago

We'll have to add an OverloadedIntegerFactory of some description... That way the * operator can be overridden. Then we can work that into the system somehow... Perhaps we should overload % instead?