Hello World

This is my obligatory 'hello world' post. For this site's engine I chose Jekyll, which is currently very fashionable among developers. (I enjoy the concept of blogging the same way I code).

Expect an actual post sometime soon. For now, enjoy these relevant code examples:

perl

print "Hello World!\n";

ruby

puts 'Hello World!'

python

print "Hello World!"

javascript

document.write("Hello World!");

haskell

main :: IO ()
main = putStrLn "Hello World!"

c

int main(void)
{
  printf("Hello World!\n");
  return 0;
}

c++

int main()
{
  std::cout << "Hello World!\n";
}

c#

public class HelloWorld
{
  static void Main()
  {
    System.Console.WriteLine("Hello World!");
  }
}

java

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

go

func main() {
  fmt.Println("Hello World!")
}

dart

I don't always write "Hello World!" in dart, but when I do...

lisp

(format t "Hello World!~%")

erlang

hello_world() -> io:fwrite("Hello World!\n").

gml

draw_text(0, 0, "Hello World!")

html

<!DOCTYPE html>
<html>
  <head>
    <title>Hello World!</title>
  </head>
  <body>
    <p>Hello World!</p>
  </body>
</html>