From APL Wiki
Revision as of 16:29, 24 September 2020 by Adám Brudzewsky (talk | contribs) (Adám Brudzewsky moved page Pornography to Readability: Avoid censorship)
Jump to navigation Jump to search

Pornography is a term traditionally used by APLers to describe code that is hard to read, or uses unusual constructs. Code golf often results in pornographic code.


In APL – an Interactive Approach, the authors the authors describe the following code as “almost pornographic”:


The APL2 Idiom list includes the following entry:

X'line1',0Y'line2' ⍝ Pornography. Combining two lines into one.

Morten Kromberg asked one of his colleagues to “Please avoid this kind of pornography:”


A much more readable version would be:

nsns container.⎕NS