Re:The Cursed Computer Iceberg Meme
by inoursweetz on Sunday April 11, 2021 @08:39AM
(#26769939)
There is a nice paper, which explores possible elegant solutions to FizzBuzz.
https://themonadreader.files.wordpress.com/2014/04/fizzbuzz....
[ Parent
| on HN ]
Re:The Cursed Computer Iceberg Meme
by strogonoff on Sunday April 11, 2021 @09:08AM
(#26770097)
> FizzBuzz in Haskell by Embedding a Domain-Specific Language
I was not disappointed.
> Meanwhile, we want there to be at most one place that outputs fizz, buzz, or the string representation, and each test to be performed only once.
These do intuitively seem like the properties of an elegant solution.