Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
with Ada.Text_IO;
use Ada.Text_IO;
Put_Line ("Hello World!");
#include <stdio.h>
printf("Hello World\n");
print_endline "Hello World!"
(println "Hello World")
DISPLAY "Hello World!".
#include <iostream>
std::cout << "Hello World" << std::endl;
using 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!"])
print *, 'Hello, world!'
import "fmt" 
fmt.Println("Hello World")
println 'Hello World'
putStrLn "Hello world!"
document.write("Hello World!");
console.log('Hello World');
System.out.println("Hello World");
import static java.lang.System.out;
out.print("Hello, World!");
println("Hello world!")
(print "Hello World")
(format T "Hello World")
(princ "Hello, world!")
io.write("Hello world")
print("Hello World")
#import <stdio.h>
NSLog(@"Hello world\n");
echo "Hello World" . PHP_EOL;
<?='Hello World'?>
<?php echo 'Hello World'; ?>
WriteLn('Hello, world!');
use 5.010;
say 'Hello World';
print "Hello, world!\n";
format("Hello world~n")
write('Hello, world!\n')
print("Hello World")
print('Hello World')
puts 'Hello World'
println!("Hello World");
println("Hello, World!")
(display "Hello World")
Transcript cr; show: 'Hello World!'
System.Console.WriteLine("Hello World!")

New implementation...
< >
programming-idioms.org