Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

hello world

console.log("Hello world!"); // JS/TS

System.out.println("Hello world!"); // Java

System.Console.WriteLine("Hello world!"); // C#

echo "Hello world!"; // PHP

print("Hello world!") # Py:thonk:  Ruby  Probably others

puts "Hello world!" # Ruby

printfn "Hello world!" // F#

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.  Brainfuck

'Hello world!' @ APL  Probably others

std::cout << "Hello world!" << std.endl; // C++

printf("Hello world!
"); // C  Probably others

fmt.Println("Hello world!") // Go

println!("Hello World!"); // Rust

    global  _main
    extern  _printf

    section .text
_main:
    push    message
    call    _printf
    add     esp, 4
    ret
message:
    db  'Hello world!', 10, 0 ; Assembly (?)

Look at https://excelwithbusiness.com/blog/say-hello-world-in-28-different-programming-languages/ :)
 
PREVIOUS NEXT
Tagged: #world
ADD COMMENT
Topic
Name
8+2 =