3 ms·
Sounds like a question for Code Golf[1] :) [1] https://codegolf.stackexchange.com https://codegolf.stackexchange.com Off-topic, take a look at "Add a language
by dmitriid 8y ago
Sounds like a question for Code Golf[1] :)
[1] https://codegolf.stackexchange.com https://codegolf.stackexchange.com
Off-topic, take a look at "Add a language to Polyglot" which was concluded at 194 languages, but people kept adding more: https://codegolf.stackexchange.com/questions/102370/add-a-language-to-a-polyglot https://codegolf.stackexchange.com/questions/102370/add-a-la...
- mbel 8y agoLet's not forget about immortal RosettaCode: http://www.rosettacode.org/wiki/FizzBuzz http://www.rosettacode.org/wiki/FizzBuzz
- vram22 8y agoOne interesting thing about this set of solutions is that many of the languages seem to use a pattern-matching approach (e.g. Elixir, F#, Rust, others, IIRC). As a result, having been reading about pattern-matching recently (in F# and OCaml), I was able to understand the gist of the solutions in those languages, although I did not know those languages well or even somewhat, in some cases. Of course, this is for FizzBuzz, for which the logic is easy, which makes it easy to make guesses about how the code works (for many languages at least).