top | item 23292255

(no title)

alexandernst | 5 years ago

Someone looking for the unbeatable https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris... ?

discuss

order

klibertp|5 years ago

Seems unrelated. Does Java have a compile-time feature that is Turing complete and can be (ab)used to write FizzBuzz? For example, C++ has such a feature: https://gist.github.com/bgaff/2496338 (there's more examples, try searching for "accidentally Turing-complete", there are some really fun solutions.)

alexandernst|5 years ago

They are related in that they both implement FizzBuzz in a way that is highly unlikely to be ever used, nor recommended to be used.

raggi|5 years ago

The cases are related because in both implementations it is unlikely that a human computer reader ever halts.