[HN Gopher] Hello world in every computer language
       ___________________________________________________________________
        
       Hello world in every computer language
        
       Author : maydemir
       Score  : 54 points
       Date   : 2022-05-22 16:00 UTC (7 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | anandchowdhary wrote:
       | This repository seems to be a clone of the actual repository:
       | https://github.com/leachim6/hello-world
       | 
       | dang, maybe we can update the link?
        
         | cglong wrote:
         | This should be emailed in, since a repo clone would essentially
         | be content farming.
        
       | Drblessing wrote:
       | Jumped right to Brainfuck
        
       | can16358p wrote:
       | Thanks to the repo, I've just discovered
       | Mostawesomeprogramminglanguage.
        
         | deepspace wrote:
         | If you bundle GitHub pages with lists of "Hello World"
         | programs, and their forks, together then
         | "Mostawesomeprograminglanguage" appears to be a Hapax Legomenon
         | in Google. I.e. it appears to be a joke, specifically
         | constructed for this list, and not a real programming language.
        
       | avgcorrection wrote:
       | Hello World is useful for finding out that a program is running
       | by having it produce some effect. All these Hello World things
       | are cute and all (like criticizing Java for having a long program
       | simply to print the two words) but it's become a tired fetish at
       | this point.
        
       | smitty1e wrote:
       | 'Every' becomes a challenge.
       | 
       | 99 bottles claims 1500 languages => https://www.99-bottles-of-
       | beer.net/
        
       | d1stc wrote:
       | the most interesting is b/BIT.bit
        
       | djvdq wrote:
       | Not "in languages" but "languages and frameworks", e.g. if I
       | counted properly Python is used in 11 different ways
        
       | math-dev wrote:
       | Change Common Lisp to (print "Hello, World!") - no need to make
       | things complicated ;)
        
         | ksaj wrote:
         | Yes, as well, CLisp and Common Lisp are not different
         | languages. The examples given will work for all Common Lisp
         | implementations.
        
       | Comevius wrote:
       | In Zig print formatting is comptime (it is evaluated at compile-
       | time). I find this so neat. You can also achieve comptime
       | monomorphization (generics) and polymorphism (interfaces) this
       | way. No macros or templates needed.
       | 
       | https://github.com/xbinner18P/leachim6S/blob/main/z/Zig.zig
        
       | OliverJones wrote:
       | And, just for good measure, here's Frank da Cruz's multilanguage
       | Unicode compilation in many languages of the phrase "I can eat
       | glass. It doesn't harm me."
       | 
       | https://kermitproject.org/utf8.html
       | 
       | Handy if you want to make sure stuff works RTL .
       | 
       | ny ykvl lkvl zkvkyt vzh l mzyq ly
       | 
       | But don't try it at home :-).
        
       | petee wrote:
       | Neat but Rosetta Code has been doing this for a while, would have
       | been nice to see more people contributing in once spot
       | 
       | http://www.rosettacode.org/wiki/Hello_world/Text
        
         | ravenstine wrote:
         | Rosetta Code is useful, but many of the examples are
         | horrendous. It's most likely because an example from one
         | language is extrapolated into others without always considering
         | if that language or community has its own way of accomplishing
         | something. Occasionally I still use it, and it's good when
         | you're a junior, but I think devs should try to move beyond it.
        
           | lolinder wrote:
           | Better yet, maybe devs who know a language well should
           | correct the examples to be more idiomatic? It is a wiki,
           | after all.
        
             | ravenstine wrote:
             | Yes.
        
         | jasode wrote:
         | _> but Rosetta Code has been doing this for a while, would have
         | been nice to see more people contributing in once spot_
         | 
         | Understand your preference but just pointing out some extra
         | friction on Rosettacode.org compared to Github:
         | You do not have permission to edit this page, for the following
         | reason:       You must confirm your email address before
         | editing pages.       Don't have an account?       Join Rosetta
         | Code       <... more steps ...>
         | 
         | Not complaining about the above. Just pointing out that for
         | better or for worse, many people already have Github accounts
         | instead of Rosettacode.
        
         | jimkleiber wrote:
         | Wow, I had no idea Rosetta Code existed and as someone who
         | loves linguistics (and can struggle knowing how to convert one
         | computer language to another), I think I may find this really
         | handy. Thank you!
        
       | bmitc wrote:
       | Is there really a point to hello world programs? For most
       | languages it consists of basically just typing out the string
       | "hello world".
        
         | nkozyra wrote:
         | I think there's really only value as a first step for compiled
         | languages so you can actually see a result.
         | 
         | For most languages you're right, the into is one concept.
        
         | nicoburns wrote:
         | It's useful for testing that you have the langauge tool chain
         | installed and working correctly.
        
         | mikebenfield wrote:
         | While I do think it would be nice to compare using a program
         | that is slightly less trivial, it's actually useful to see for
         | how many languages the "Hello world" program requires a lot of
         | extra ceremony. Look how verbose the Java program is for
         | instance. I do think this says something about the priorities
         | of the language designers.
        
           | tyingq wrote:
           | In that spirit...for php, you could just have "hello world\n"
           | in a file, since it's a template language by default.
        
       | dark-star wrote:
       | There is a site called "99 bottles of beer" or something, which
       | has programs in every language that printed the lyrics to that
       | "song".
       | 
       | I prefer that one to "hello world", because the programs were
       | non-trivial (they had loops, for instance, and an if-then clause)
       | 
       | Hello World is just a bit too trivial to get any meaningful
       | information from any language
        
       | Moru wrote:
       | I feel old. I did five searches on languages and none of them
       | exists in the list.
        
         | carl_dr wrote:
         | Which languages?
         | 
         | Maybe you could create a PR for them?
        
       | danielandrews43 wrote:
       | I wrote a Coffee table book on this! https://hellobook.io/
        
         | aksss wrote:
         | Your Apple Pay process seems broken (gateway issue perhaps?).
        
       | chaosprint wrote:
       | https://glicol.org/tour#hellowolrd
       | 
       | Hello world from a music programming language.
        
       ___________________________________________________________________
       (page generated 2022-05-22 23:01 UTC)