You've seen it before with English. Now lets do it with code. Any language is fine!
: ?PARSE FURRY = IF ."shitsuxsaged" THEN;
#include usualcrap.h
exit("orz");
#!/usr/bin/perl
use >>2;
use shit_perl;
if ($things_to_do eq "posting") {
$orz == 'orz orz orz orz orz';
post_orz(http://4-ch.net/general/kareha.pl/1100797477/,$orz)
print 'orz';
}
org 100h
push cs
pop ds
push dx
call orzfound
pop dx
mov al, byte[-1]
mov ah, 4ch
int 21h
orz db 'orz.$'
orzfound:
mov dx, offset orz
mov ah, 9
int 21h
ret
alias wtf_is_that {
if ($1- != $null) {
echo -a Hey $1, What hell language is that? Looks like $2
}
elseif ($1- == $null) {
echo -s It helps if you use braincells, DURRRRR.
}
on *:POSTINTHREAD: {
wtf_is_that >>5 Assembler??
}
(other than the call "POSTINTHREAD" that code is clean mIRC scripting)
IDENTIFICATION DIVISION.
PROGRAM-ID. orzProgram.
PROCEDURE DIVISION.
DisplayPrompt.
DISPLAY "orz".
STOP RUN.
print "Here comes the man train!"
10 print "orz-"
goto 10
(>>5 is intel-style x86 assembler to create a dos-based com file)
52*"-zro">:#,_@
#include <stdlib.h>
int
main()
{
puts("A quick tutorial in befunge: \n");
while (1) {
putchar(rand()%255);
}
return 0; // yeah, right
}
Requesting Java, PHP, Ruby, Python, C++, C# and any other language missed so far!
orz
PHP:
<?php
if (sux($shit)) {
$title="Shit sux";
$msg="sage";
}
else {
$title="ZOMG";
$msg="sauce?";
}
?>
<html><head><title><?=$title?></title></head><body><?=$msg?></body></html>
(Mixing code and output like this is actually considered bad practice, though...
Python:
from wakachan import sux
if sux(shit):
print "SHIT SUX sage"
else:
print "ZOMG sauce?"
@ note: P is the rho symbol
orz<-'orz'
orz<-057 3 P orz
orz
// While talking about bad practice...
#include <iostream>
#include <string>
#include <vector>
#include <cstdlib>
using namespace std;
int
main(int argc, char **argv)
{
const int COMMENTS = 13;
string comments[COMMENTS] = {"zomg", "sage", "lol", "shitsux", "sauce?",
"torrent plz", "turns on a dime", "roffle", "milhouse is a meme!",
"gb2/l/", "WTF?", "partition denied", "winnar"};
if (argc == 2) {
string argv2 = argv[1];
if (argv2 == "girl") {
cout << "a/s/l?" << endl;
} else if (argv2 == "furry") {
cout << "gb2/5chan/" << endl;
} else {
srand(time(NULL));
cout << comments[rand()%COMMENTS] << endl;
}
}
return 0;
}
H
FSCREEN O F 80 80 CRT
C EXCPT
OSCREEN E 1
O 12 'OTL'
#VRML V1.0 ascii
AsciiText {
string "o r z"
justification LEFT
}
<script><!--
document.write('<h1>oooooooooooooooooooORZzzzzzzzzzzzzzzzz</h1>');
//--></script>
10 INPUT "Hello, how do you do?"; U$
20 PRINT "orz"
30 END
@echo off
if %1==aborn goto end
goto o
:r
goto z
:o
goto r
:z
echo **************
echo * OTL *
echo **************
:end
#!/usr/bin/env ruby
require 'what'
module ThisThread
end
# get contents of internet thread
begin
load "thisthread"
rescue SyntaxError
# silently ignore the gibberish :o
end
# this is useful for debugging internet threads about
# associating stuff in any language you like, which have no
# ruby example code defined yet
if ThisThread.const_defined? "ASSOCIATION_THREAD" and ThisThread.const_defined? "LOL_WHAT_NO_RUBY_YET"
raise Question, "'no ruby people here :O?', by ", $NAME.slice /[^#]*/
end
# collect everything in the given internet thread, associate
# it with a variable and try to appear witty ololol
begin
associations = Hash.new.merge! ThisThread.const_get "ALL_POSTS"
rescue Orz
puts "orz =("
exit 11
end
Reply.OnClick {
if (post.Value == "shit") {
$sux == "sage";
PostInThread($sux);
}
elseif (post.Value != "shit") {
$appprove == "My name is anonymous and I approve this thread";
PostInThread($approve);
int orz=3;