top | item 44720521

(no title)

ben0x539 | 7 months ago

They should probably put more than three lines of code in there?

discuss

order

kasey_junk|7 months ago

The rust and golang versions are exactly the same.

Printing hello world is the default of the industry for this sort of thing.

ameliaquining|7 months ago

The Go playground actually has a dropdown menu with 15 examples, of which "Hello World" is merely the first; together they do a decent job of demonstrating the language's core features.

The Rust playground defaults to "Hello World" but that's just because there has to be something there, it's not on the home page of the website or anything (though it used to be).