DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Hello World  (Read 8,602 times)

Ralf Maximus

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 927
    • Coding Snacks
Hello World
« on: December 19, 2007, 06:12 AM »
prograph.png

What's the first program just about anybody writes in a new language?

Why, Hello World, of course.  And now, you can be Hello World fluent in 300 languages.  Including Shakespeare:

Quote
Juliet:
Speak YOUR mind! You are as bad as Hamlet! You are as small as the
difference between the square of the difference between my little pony
and your big hairy hound and the cube of your sorry little
codpiece. Speak your mind!

Just a snippet, mind you.  There's more to the "program" but you know how the Bard's code always needed optimization.  RedCode also looks a bit bloated, but what do I know?  I'm a VB guy:

Quote
Private Sub Form_Load()
Print "Hello World"
End Sub

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Hello World
« Reply #1 on: December 19, 2007, 11:52 AM »
Code: (java)
class HelloWorld {
  static public void main( String args[] ) {
    System.out.println( "Hello World!" );
  }
}
:-* :-*

justice

  • Solve issues simply.
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • Participated in NANY Challenge Four Times
    • Cody Award
    • Coding Snacks
    • DJ Badge - DJ
Re: Hello World
« Reply #2 on: December 19, 2007, 12:52 PM »
« Last Edit: December 19, 2007, 12:54 PM by justice »

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Hello World
« Reply #3 on: December 19, 2007, 03:01 PM »
Here's something similar i found on the link justice posted, but with the "99 bottles of beer on the wall" song!

It has 1441 different languages!
Even Authotkey is there! :D

Mark0

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 654
Re: Hello World
« Reply #4 on: May 16, 2008, 12:03 PM »
Some days ago the mega list by Wolfram Rösler was mentioned on Digg: The Hello World Collection
That reminded me of my Redcode version.



I have made a video of it: YouTube - Hello World! in Redcode

:)

Bye!

Original address: https://www.donationcoder.com/forum/index.php?topic=11394.0