Write a needlessly complex "Hello World" in a computer language of your choice

Write a needlessly complex "Hello World" in a computer language of your choice.

Other urls found in this thread:

savannah.gnu.org/projects/hello
en.wikipedia.org/wiki/Brainfuck
gist.github.com/lolzballs/2152bc0f31ee0286b722
twitter.com/SFWRedditGifs

|-|3|_ |_0 \/\/0|2|_ |)

Tibasic
:ClrHome
:0->x
:Lbl A
:(x+1)->x
:If x=1
:then:Output (1,x,"H"):Goto A
:Else
:If x=2
:then:Output (1,x,"E"):Goto A
:Else
:If x=3
:then:Output (1,x,"L"):Goto A
:Else
:If x=4
:then:Output (1,x,"L"):Goto A
:Else
:If x=5
:then:Output (1,x,"O"):(x+1)->x:Goto A
:Else
:If x=7
:then:Output (1,x,"W"):Goto A
:Else
:If x=8
:then:Output (1,x,"O"):Goto A
:Else
:If x=9
:then:Output (1,x,"R"):Goto A
:Else
:If x=10
:then:Output (1,x,"L"):Goto A
:Else
:If x=11
:then:Output (1,x,"D"):Goto A
:Else
:Pause

Already implemented.
savannah.gnu.org/projects/hello

00000000 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 |.ELF............|
00000010 02 00 03 00 01 00 00 00 80 80 04 08 34 00 00 00 |............4...|
00000020 c8 00 00 00 00 00 00 00 34 00 20 00 02 00 28 00 |........4. ...(.|
00000030 04 00 03 00 01 00 00 00 00 00 00 00 00 80 04 08 |................|
00000040 00 80 04 08 9d 00 00 00 9d 00 00 00 05 00 00 00 |................|
00000050 00 10 00 00 01 00 00 00 a0 00 00 00 a0 90 04 08 |................|
00000060 a0 90 04 08 0e 00 00 00 0e 00 00 00 06 00 00 00 |................|
00000070 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 ba 0e 00 00 00 b9 a0 90 04 08 bb 01 00 00 00 b8 |................|
00000090 04 00 00 00 cd 80 b8 01 00 00 00 cd 80 00 00 00 |................|
000000a0 48 65 6c 6c 6f 2c 20 77 6f 72 6c 64 21 0a 00 2e |Hello, world!...|
000000b0 73 68 73 74 72 74 61 62 00 2e 74 65 78 74 00 2e |shstrtab..text..|
000000c0 64 61 74 61 00 00 00 00 00 00 00 00 00 00 00 00 |data............|
000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000000f0 0b 00 00 00 01 00 00 00 06 00 00 00 80 80 04 08 |................|
00000100 80 00 00 00 1d 00 00 00 00 00 00 00 00 00 00 00 |................|
00000110 10 00 00 00 00 00 00 00 11 00 00 00 01 00 00 00 |................|
00000120 03 00 00 00 a0 90 04 08 a0 00 00 00 0e 00 00 00 |................|
00000130 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 |................|
00000140 01 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 |................|
00000150 ae 00 00 00 17 00 00 00 00 00 00 00 00 00 00 00 |................|
00000160 01 00 00 00 00 00 00 00 |........|

even better now it randomly picks letters 1-11 to print
I could use randIntNoRep so it only displays each letter once But wheres the fun in that?
Tibasic
:ClrHome
:Lbl A
:randInt(1,11,1)->x
:If x=1
:then:Output (1,x,"H"):Goto A
:Else
:If x=2
:then:Output (1,x,"E"):Goto A
:Else
:If x=3
:then:Output (1,x,"L"):Goto A
:Else
:If x=4
:then:Output (1,x,"L"):Goto A
:Else
:If x=5
:then:Output (1,x,"O"):Goto A
:Else
:If x=7
:then:Output (1,x,"W"):Goto A
:Else
:If x=8
:then:Output (1,x,"O"):Goto A
:Else
:If x=9
:then:Output (1,x>Tibasic
>:ClrHome
>:0->x
>:Lbl A
>:(x+1)->x
>:If x=1
>:then:Output (1,x,"H"):Goto A
>:Else
>:If x=2
>:then:Output (1,x,"E"):Goto A
>:Else
>:If x=3
>:then:Output (1,x,"L"):Goto A
>:Else
>:If x=4
>:then:Output (1,x,"L"):Goto A
>:Else
>:If x=5
>:then:Output (1,x,"O"):(x+1)->x:Goto A
>:Else
>:If x=7
>:then:Output (1,x,"W"):Goto A
>:Else
>:If x=8
>:then:Output (1,x,"O"):Goto A
>:Else
>:If x=9
>:then:Output (1,x,"R"):Goto A
>:Else
>:If x=10
>:then:Output (1,x,"L"):Goto A
>:Else
>:If x=11
>:then:Output (1,x,"D"):Goto A
>:Else
>:Pause
,"R"):Goto A
:Else
:If x=10
:then:Output (1,x,"L"):Goto A
:Else
:If x=11
:then:Output (1,x,"D"):Goto A
:Else
:Goto A

en.wikipedia.org/wiki/Brainfuck
++++++++[>++++[>++>+++>+++>+>+[.>---.+++++++..+++.>>.+.>++.

hello world needs to be renamed to "im bettar than u!!!!!!" as only total failures bother and not only that it's the only thing they know how to do as they spend 10-20 years repeating it. Want to prove you know programming, have this thing called a "portfolio"

Isn't hello world program just to test your programming environment? That everything is working?

It's also still almost universally used as a first time program when teaching a new language (or teaching programming generally).

org 0x7c00
bits 16

jmp 0x0000:fix_cs
fix_cs:
cli
xor ax, ax
mov ds, ax
mov es, ax
mov ss, ax
mov sp, 0x7bf0
sti

mov si, hello
call print

jmp $

print:
push ax
push si
mov ah, 0x0e
.loop:
lodsb
test al, al
jz .done
int 0x10
jmp .loop
.done:
pop si
pop ax
ret

hello db 'hello, world!', 0

times 510-($-$$) db 0
dw 0xaa55

It's an easy way to make sure that your dev environment is setup, and that you have some kind of IO. That's why it's the first program in a lot of books, it shows how to setup and use a dev environment

You are all retards

gist.github.com/lolzballs/2152bc0f31ee0286b722

I can no longer tell the difference between trolls, poos, and neets
Sup Forums is dead

fn main() {
h();
e();
l();
l();
o();
w();
o();
r();
l();
d();
}

macro_rules! letter_provider {
( $( $letter: ident ),* ) => {
$(
fn $letter() {
print!("{}", stringify!($letter));
}
)*
};
}

letter_provider!(h,e,l,o,w,r,d);

// How to properly obfuscate your code
var output = " hdellloorw";
while(md5(output) != 0x5eb63bbbe01eeed093cb22bb8f5acdc3) {
output = shuffleStr(output);
}
console.log(output);

alphabet = []
alphabet.append('a')
alphabet.append('b')
alphabet.append('c')
alphabet.append('d')
alphabet.append('e')
alphabet.append('f')
alphabet.append('g')
alphabet.append('h')
alphabet.append('i')
alphabet.append('j')
alphabet.append('k')
alphabet.append('l')
alphabet.append('m')
alphabet.append('n')
alphabet.append('o')
alphabet.append('p')
alphabet.append('q')
alphabet.append('r')
alphabet.append('s')
alphabet.append('t')
alphabet.append('u')
alphabet.append('v')
alphabet.append('w')
alphabet.append('x')
alphabet.append('y')
alphabet.append('z')
alphabet.append(' ')
alphabet.append('1')
alphabet.append('2')
alphabet.append('3')
alphabet.append('4')
alphabet.append('5')
alphabet.append('6')
alphabet.append('7')
alphabet.append('8')
alphabet.append('9')
alphabet.append('!')
alphabet.append('?')
helloworld = []
for letter in alphabet:
if letter == "h":
helloworld.append(letter)
for letter in alphabet:
if letter == "e":
helloworld.append(letter)
for letter in alphabet:
if letter == "l":
helloworld.append(letter)
helloworld.append(letter)
for letter in alphabet:
if letter == "o":
helloworld.append(letter)
for letter in alphabet:
if letter == " ":
helloworld.append(letter)
for letter in alphabet:
if letter == "w":
helloworld.append(letter)
for letter in alphabet:
if letter == "o":
helloworld.append(letter)
for letter in alphabet:
if letter == "r":
helloworld.append(letter)
for letter in alphabet:
if letter == "l":
helloworld.append(letter)
for letter in alphabet:
if letter == "d":
helloworld.append(letter)
for letter in alphabet:
if letter == "!":
helloworld.append(letter)
print "".join(helloworld)

print("Hello World!")

The complexity is in the 4 year degree it takes to get to this point

*BEEP BOOP*

HELLO WORLD !

*BEEP BOOP*

you forgot "0"