topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 9:57 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Hello World  (Read 6646 times)

Ralf Maximus

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 927
    • View Profile
    • Read more about this member.
    • Donate to Member
Hello World
« on: December 19, 2007, 12: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:

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:

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

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Hello World
« Reply #1 on: December 19, 2007, 05:52 AM »
Code: Java [Select]
  1. class HelloWorld {
  2.   static public void main( String args[] ) {
  3.     System.out.println( "Hello World!" );
  4.   }
  5. }
:-* :-*

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: Hello World
« Reply #2 on: December 19, 2007, 06:52 AM »
« Last Edit: December 19, 2007, 06:54 AM by justice »

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Hello World
« Reply #3 on: December 19, 2007, 09:01 AM »
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: 652
    • View Profile
    • Mark's home
    • Donate to Member
Re: Hello World
« Reply #4 on: May 16, 2008, 07:03 AM »
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!