weird/odd code you've written
1
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)
2
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"?
3
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..
4
Name:
Anonymous
2010-11-25 21:25
Perl, Ruby on Rails (but it isSLOW AS FUCK ), FIOC , LISP ? pfft.
5
Name:
Anonymous
2010-11-25 21:33
from a cond:
((= (car x) 1) (append `(1 ,(+ (car x) (cadr x))) (f (cdr x))))
6
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.
7
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.
8
Name:
Anonymous
2010-11-25 22:29
9
Name:
Anonymous
2010-11-25 23:56
void falloc(void){
return (void *p = 0x000000001);
}
10
Name:
Anonymous
2010-11-26 0:05
void fallic(void){
return (void *hax = &anus);
}
11
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.
12
Name:
Anonymous
2010-11-26 0:38
13
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)); });
14
Name:
Anonymous
2010-11-26 2:45
15
Name:
Anonymous
2010-11-26 5:56
public void ffh(){
ffh();
}
16
Name:
Anonymous
2010-11-26 11:28
>>11
A rare
ßußman post! I shall put this into my collection.
Newer Posts