Programming style is a complex topic. I can not do it justice in an e-mail.
There is no "Programming Style in J" paper that I know of. There is Ken Iverson's "Programming Style in APL" from the 1978 APL User's Meeting, cited in the Berry & Pesch paper. (Ken's paper is Reprinted in "A Source Book in APL".) Many of the points there are applicable to J or are done better in J. The paper begins thus: When all the techniques of program management and programming practice have been applied, there remain vast differences in quality of code produced by different programmers. These differences turn not so much upon the use of specific tricks or techniques as upon a general manner of expression, which, by analogy with native language, we will refer to as _style_. This paper addresses the question of developing good programming style in APL. Because it does not rest upon specific techniques, good style cannot be taught in a direct manner, but it can be fostered by the acquisition of certain habits of thought. The following sections should therefore be read more as examples of general habits to be identified and fostered, than as specific prescriptions of good technique. ... 1. Assimilation of Primitives and Phrases 2. Function Definition 3. Generality 4. Identities 5. Proofs 6. Recursive Definition 7. Properties of Defined Functions 8. Efficiency 9. Reading 10. Conclusions Appendix A. Translation from Direct to Del Form References ----- Original Message ----- From: June Kim <[EMAIL PROTECTED]> Date: Sunday, February 18, 2007 3:30 pm Subject: Re: [Jprogramming] Style and Literacy in APL > ... > What do you think about the main theme of the paper? What style of J > code is more readable to you? Is there any "Style and Literacy" like > paper for J? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
