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

weird/odd code you've written

Name: Anonymous 2010-11-25 21:17

Show me the weirdest (executable) code you've written.
Not whole blocks, just a few lines.

I guess I'll start, I wrote this the other day.

for($i = 0, $c = $keyIndex; $i < 7; $i++)
    if(($p = $c += ($steps[$i] == 'W' ? 2 : 1)) >= 12)

Name: Anonymous 2010-11-25 21:19

Is this an actual thread, or a thinly-veiled excuse to say "Look what I can do in PHP"?

Name: Anonymous 2010-11-25 21:22

>>2
I'd like it to be an actualy thread.

But hey while you're PHP-bashing, please, explain to me why everybody hates PHP. Yes it's a shitty language, but do you know how much it sucks trying to make websites in anything else? ASP, JSP? pfft..

Name: Anonymous 2010-11-25 21:25

Perl, Ruby on Rails (but it isSLOW AS FUCK), FIOC, LISP? pfft.

Name: Anonymous 2010-11-25 21:33

from a cond:
((= (car x) 1) (append `(1 ,(+ (car x) (cadr x))) (f (cdr x))))

Name: Anonymous 2010-11-25 21:51

>>3
explain to me why everybody hates PHP. Yes it's a shitty language
You just haven't tried the right languages.

Name: Anonymous 2010-11-25 22:13

>>6
PHP is ok for dynamic webpages, but DON'T try to do EVER something more complex than that.

Name: Anonymous 2010-11-25 22:29

>>7
PHP is never okay

Name: Anonymous 2010-11-25 23:56


void falloc(void){
   return (void *p = 0x000000001);
}

Name: Anonymous 2010-11-26 0:05


void fallic(void){
    return (void *hax = &anus);
}

Name: Anonymous 2010-11-26 0:17

I got drunk and high one night. I called my bro and we wrote some shitty book about wizards and some toy language. I hear people took it seriously.

Name: Anonymous 2010-11-26 0:38

>>11
Hi Bjarne.

Name: Anonymous 2010-11-26 1:59

I made a monadic combinatory parser library in PHP the other day. It felt weird. Making parsers in it looks like bind(many1(_or(letter(),digit())),function ($fst) { return _bind(char('.'), _return($fst)); });

Name: Anonymous 2010-11-26 2:45

>>11
i smiled.

Name: Anonymous 2010-11-26 5:56

public void ffh(){
  ffh();
}

Name: Anonymous 2010-11-26 11:28

>>11
A rare ßußman post! I shall put this into my collection.

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