Wednesday, August 13, 2008

Hello World program in 400 programming languages

Lets see how to print "Hello World" in 400+ languages:

Java:
// Hello World in Java

class HelloWorld {
static public void main( String args[] ) {
System.out.println( "Hello World!" );
}
}


C#:
// Hello World in Microsoft C# ("C-Sharp").

using System;

class HelloWorld
{
public static int Main(String[] args)
{
Console.WriteLine("Hello, World!");
return 0;
}
}

Ruby:
# Hello World in Ruby
puts "Hello World!"

Want to see the complete list? Following is the link:
http://www.roesler-ac.de/wolfram/hello.htm

Sunday, August 3, 2008

Ruby 1.9

Yukihiro Matsumoto, chief designer of the Ruby programming language(1995), speaks about Ruby 1.9 in a tech talk organised by Google.