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

ITT The J programming language

Name: Anonymous 2007-04-04 8:14 ID:A+7Bprzl

Examples of J: http://www.jsoftware.com/jwiki/Studio
A good introduction: http://www.jsoftware.com/help/primer/contents.htm
J for C programmers: http://www.jsoftware.com/help/jforc/contents.htm
Learning J: http://www.jsoftware.com/help/learning/contents.htm


quicksort=: (($:@(<#[) , (=#[) , $:@(>#[)) ({~ ?@#)) ^: (1<#)

Name: Anonymous 2007-04-04 8:36 ID:iCSEMMSw

I've looked at some J code.  Every other character is a period or a colon.  I've got spots before my eyes.  How can anybody read this stuff?
You'll get used to it.  J has a great many primitives, and it's important to keep the names short so that you can fit a lot of computation on one line; so the names are either single characters, like >, or a character with a period or colon appended (>. and >:).  The period/colon is just part of the name.  Single letters with period/colon, like i., are also used for primitives.  If you want to assign your own names to the primitives, you are allowed to, but pretty soon you'll want to go back to the shorter names to save space and typing.

Yeah, screw readable names. It's not like people have to maintain code or anything.

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