Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

Show us your anus programs!

Name: HAXUS THE GREAT 2011-04-02 11:39


#include <iostream>
using namespace std;

struct anus {
    bool haxed;
   
    anus() : haxed(0) {}
    bool been_haxed();
};

void hax( anus );

int main() {
    anus my;
    hax(my); // HAX MY ANUS
}

Name: Anonymous 2011-04-02 11:44

your anus is full of boilerplate

Name: Anonymous 2011-04-02 11:48


module Main (main) where

class Haxable a where
    hax :: a -> String

newtype Anus = Anus String

instance Haxable Anus where
    hax (Anus s) = "HAX " ++ s

main :: IO ()
main = do
    let myAnus = Anus "MY ANUS"
    putStrLn $ hax myAnus

Name: Anonymous 2011-04-02 11:59

>>2
BOILERPLATE MY ANUS

Name: Anonymous 2011-04-02 12:20

>>4
BOILERPLATE IN MY ANUS

Name: Anonymous 2011-04-02 12:28


(define-values (prop:haxable haxable? haxable-get)
  (make-struct-type-property 'haxable))

(struct anus (string)
  #:property prop:haxable #t)

(define (hax anus)
  (if (haxable? anus)
      (printf "HAX ~a" (anus-string anus))
      (error 'hax "not haxable")))

(let ((my-anus (anus "MY ANUS")))
  (hax my-anus))

Name: Anonymous 2011-04-02 13:34

>>5
it's more likely than you think

Name: Anonymous 2011-04-02 13:39

IT'S MORE LIKELY THAN MY ANUS

Name: Anonymous 2011-04-02 14:06

>>8
what is the probability of your anus?

Name: Anonymous 2011-04-02 14:12

>>9
PROBABLY MY ANUS

Name: Anonymous 2011-04-02 15:16

class Anus:
    def __init__(self, anusname):
        self.anusname = anusname
    def hax(self):
        print "HAX " + self.anusname

def hax(anus):
    anus.hax()

my_anus = Anus("MY ANUS")
hax(my_anus)

Name: Anonymous 2011-04-02 15:17

>>11
def hax(anus):    anus.hax()
Terrible!

Name: Anonymous 2011-04-02 15:25

>>11
>>12

what about making it as lambda?

[code]hax = lambda o: o.hax()[/cpde]

Name: Anonymous 2011-04-02 15:29

>>13
Wrappers considered harmful.

Name: Anonymous 2011-04-02 15:36

>>12
That was there so I could say hax(my_anus) instead of my_anus.hax() ;_;

Name: CONSIDER MY ANUS 2011-04-02 15:42

>>15
Subject-oriented paradigm considered harmful.

Name: Anonymous 2011-04-02 15:55

>>16
Behaviour driven concepts considered not harmfull:

hax(my(Anus("MY ANUS"))

Name: Anonymous 2011-04-02 16:06

local anus = { }
function anus:hax () print("HAX " .. self.name) end

function Anus (my_anus)
    local a = { name = my_anus }
    setfenv(2, a)
    return setmetatable(a, { __index = anus })
end

my_anus = Anus "MY ANUS"
hax(my_anus)

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2011-04-02 16:28

I dont get all this anus mania here

Name: VIPPER 2011-04-02 16:32

/prog/ is about anii and autism, maybe some hax here and there. But mostly anus.

Name: Anonymous 2011-04-02 18:00

>>18
Seeing Lua code makes me sad. A good language gone bad ;_;

Name: Anonymous 2011-04-02 18:03

>>21

u mad?

Name: Anonymous 2011-04-02 18:07

>>22
No, just sad. It's the same feeling as when someone mentions mai waifu ;_;

Name: Anonymous 2011-04-02 18:38

>>23
I feel the same when I realize that everybody owns a computer. I wish I could travel back in time, when there were card punchers. No kidding.

Name: Anonymous 2011-04-02 18:41

>>24
VALID FORTRAN

Name: Anonymous 2011-04-02 18:50

>>25
C VALID FORTRAN
FTFY

Name: Anonymous 2011-04-02 19:45

>>25
VALIDATE MY ANUS

Name: Anonymous 2011-04-02 20:58

ASSERT MY ANUS

Name: Anonymous 2011-04-03 2:03

(DEFUN MY-ANUS)

Name: Anonymous 2011-04-03 2:17

TRY MY ANUS

Name: Anonymous 2011-04-03 2:22

>>30
everyone has, by now.

Name: Anonymous 2011-04-03 7:20

hi guys

*throws nullpointerexception*

Name: Anonymous 2011-04-03 12:09

>>28
I'D ASSERT YOUR ANUS
I'd gotocomeinto your : (that's right - the colon).

Name: Anonymous 2011-04-03 12:14

>>33
GOTO CONSIDERED HARMFUL

Name: Anonymous 2011-04-03 12:38

>>34
HARM MY ANUS

Name: Anonymous 2011-04-03 13:31

iostream functions are slower tha cstdio functions.

Name: Anonymous 2011-04-03 13:57

>>36
It's even worse if you think that the functions get dispatched at compile time.

Name: Anonymous 2011-04-03 14:48

>>34
GOTO MY ANUS

Name: Anonymous 2011-04-03 16:42

: FORTH MY ANUS ;

Name: Anonymous 2011-04-03 16:54

>>39
FIND FORTH HIDE

Name: Anonymous 2011-04-03 20:53

||| In 1955 one man who was "feeling depressed" reportedly inserted a six-inch paper tube into his rectum, dropped in a lighted firecracker, and blew a hole in his anterior rectal wall.

Name: Anonymous 2011-04-03 22:30

>>41
A mere 3 years later, LISP appeared. Coincidence? You be the judge!

Name: Anonymous 2011-04-04 0:06

>>42
Most notably, two years later, FORTRAN appeared, and ALGOL after it. Coincidence? I think not!

Name: Anonymous 2011-04-04 2:21

>>42
I lol'd.

Don't change these.
Name: Email:
Entire Thread Thread List