This language bar is your friend. Select your favorite languages!
puts "Hello World"
with Ada.Text_IO;
use Ada.Text_IO;
Put("Hello World!");
#include <stdio.h>
printf("Hello World\n");
print_endline "Hello World!"
(println "Hello World")
#include <iostream>
std::cout << "Hello World\n";
System.Console.WriteLine("Hello World!");
pragma(msg, "Hello World");
import std.stdio;
writeln("Hello world!");
print("Hello World");
"Hello World" |> IO.puts
IO.puts "Hello World"
io:format("~s~n", ["Hello, world!"])
write(*,*) 'Hello, world!'
import "fmt" 
fmt.Println("Hello World")
putStrLn "Hello world!"
document.write("Hello World!");
console.log("Hello World");
System.out.println("Hello World");
(princ "Hello, world!")
print("Hello World")
#import <stdio.h>
NSLog(@"Hello world\n");
echo "Hello World\n";
WriteLn('Hello, world!');
print "Hello, world!";
write('Hello, world!\n')
-1
format("Hello world~n")
print "Hello World"
print("Hello World")
1
println!("Hello World");
println("Hello, World!")
(display "Hello World")
System.Console.WriteLine("Hello World!")
1

Do you know the best way to do this in your language ?
New implementation...

Idiom created by

programming-idioms.org