J is an interesting language
1
Name:
Anonymous
2007-01-13 19:23
quicksort=: (($:@(<#[) , (=#[) , $:@(>#[)) ({~ ?@#)) ^: (1<#)
2
Name:
Anonymous
2007-01-13 19:25
>([:{: ]#~ (=|.&.>)) <@":"0 /:~(0:-.~[:,>:/**/)~(i.100)-.~i.1000
3
Name:
Anonymous
2007-01-13 22:25
WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY WRITE-ONLY
4
Name:
Anonymous
2007-01-14 6:35
(sage)
Did someone say "obscure shit"?
5
Name:
Anonymous
2007-01-14 6:50
>>4
It's actually quite popular... in the circles where APL is used :X
I'm thinking of learning it, it appears to be the ultimate language for algorithms and number crunching and stuff.
6
Name:
Anonymous
2007-01-14 8:45
qsort [] = []
qsort (x:xs) = qsort (filter (< x) xs) ++ [x] ++ qsort (filter (>= x) xs)
Superior.
7
Name:
Anonymous
2007-01-14 9:16
>>5
No one use APL, that's the problem. As much as I hate Haskell, it's superior in syntax, and if you don't like it, there is still R of the R-Project.
8
Name:
Anonymous
2007-01-14 9:46
J means JEWS
9
Name:
Anonymous
2007-01-15 5:52
10
Name:
Anonymous
2007-01-15 7:56
>>9
divmod=:>:@- ({. ,&< }.) ([ (] -/@,:&}. (* {:)) ] , %&{.~)^:(>:@-~)&.|.~
11
Name:
Anonymous
2007-01-15 8:58
Powerful, beautiful and elegant:
qsort = lambda l: l and qsort([x for x in l[1:] if x < l[0]]) + [l[0]] + qsort([x for x in l[1:] if x >= l[0]]) or []
12
Name:
Anonymous
2007-01-15 9:12
13
Name:
Anonymous
2007-01-15 12:08
>>11
WTF is this crap? It doesn't seem to use the entire ASCII character set for basic tasks? And what the fuck are those words? This is not kindergarten anymore, here we work with symbols!!
14
Name:
Anonymous
2007-01-15 16:08
15
Name:
Anonymous
2007-01-15 18:44
>>14 gb2/PL mthfkr
oh, and ("#/&()="$/&=)%/"#$/ so you feel at home.
16
Name:
Anonymous
2008-04-19 18:41
17
Name:
Anonymous
2008-04-19 18:43
for (int i=0; i<10; ++i)
{
cout << i << endl;
}
18
Name:
Anonymous
2008-04-20 18:52
>>17
FOR VARIABLE i FROM 1 to 10 INCLUSIVE
BEGIN BODY
PRINT i, NEWLINE
END BODY
END FOR
19
Name:
Anonymous
2008-04-20 18:58
20
Name:
Anonymous
2008-04-21 0:15
I am a Perl user, and we have to nothing to with the nightmare
>>1 is.
21
Name:
Anonymous
2008-04-21 2:13
22
Name:
Anonymous
2008-04-21 2:41
>>1-21
I guess this is why they call this board Programming LOL!! XD
23
Name:
Anonymous
2008-04-21 4:02
24
Name:
Anonymous
2008-04-21 15:37
It's actually a pretty elegant language once you get used to the symbols (which is like learning a whole new script). I like the whole adverbs and such things.
26
Name:
Anonymous
2010-11-16 1:54