10 ms·
Jello: Print “jello ” in every programming language
- mgraczyk 5y agoIs this a postmodern fork of some "hello" repo? Why "jello", and why does the Readme say "hello" instead?
- prezjordan 5y agoAwesome! I apologize to pull the classic HN move but I built something similar with FizzBuzz, with the requirement that implementations run within a docker container (it was a project to learn Docker). https://github.com/jdan/fizzbuzz-polyglot https://github.com/jdan/fizzbuzz-polyglot Thanks for putting this together though, you've got quite a suite here.
- physicsgraph 5y agoThe Dockerization of your samples makes the repo more useful. I don't want to have to install every language on my laptop.
- remram 5y agoThat doesn't seem like a very interesting choice. `print hello` or similar will not showcase much of any given language's syntax, and is actually likely to hit specialized syntax for printing (e.g. Python 2's print wasn't a function). It will show some of the boilerplate, for languages that need it (public static void main...). "Every programming language" is also quite the claim, I only see 46 languages in there (Wikidata counts 1,449 "programming languages" Q9143).
- sergiomattei 5y agoI thought this as well. I don't think it is a good showcase of the languages, just the simplest possible construct for outputting text.
- Rochus 5y agoRight. Makes more sense to contribute to http://www.rosettacode.org/wiki/Rosetta_Code http://www.rosettacode.org/wiki/Rosetta_Code.
- remram 5y agoThis is awesome! And also looks like a superset: http://www.rosettacode.org/wiki/Hello_world/Newbie http://www.rosettacode.org/wiki/Hello_world/Newbie (94 languages, with code and instructions for running them)
- capableweb 5y agoRelated: Rosetta Code - https://rosettacode.org/wiki/Rosetta_Code https://rosettacode.org/wiki/Rosetta_Code Has a bunch of different concepts implemented in a TON of different programming languages. Here's an example for the typical FizzBuzz exercise: https://rosettacode.org/wiki/FizzBuzz https://rosettacode.org/wiki/FizzBuzz (321 languages currently)
- deleted 5y ago[deleted]
- williamstein 5y agoIs the longest program in terms of lines of code the one written in Whitespace? (14 lines). It’s also the shortest program if you don’t count whitespace.
- banana_giraffe 5y agoNope, the Assembly one is one line longer.