This is a personal preference: no consensus has ever arisen among J programmers.

Raul's ideas, as usual, as worth taking in.  I personally don't like all-caps much in my code - seems too shouty.

What most people do, I think, is just use lowercase for all names.

If I were going to make a personal style, I think it would be this:

nouns are lowercase
manifests (whatever the part of speech) are all uppercase
verbs are CamelCase
adverbs/conjunctions are lowercase, and their use is parenthesized, as (+ someadverb)   with exceptions for each and every, which are so ubiquitous as not to need the parentheses

Use local names where possible, as in

name =. value

If you need to make a name global for debugging purposes, use

name   =: value

i. e. with 2 extra spaces before the = .  Then at the end you can replace all '  =:' with '=.' .



Henry Rich




On 12/2/2018 12:05 PM, Brian Schott wrote:
Thomas,

There are no such naming conventions, however, the issue has been discussed
in the past in our forums. When I tried searching for such discussion I
found the following link which was difficult to find because when it was
discussed and mentioned in the early teens, the jwiki was different and the
link names changed slightly. AFAIK nothing ever came of the wiki essay but
it makes several good points and places naming in the context of parsing,
which is helpful.

https://code.jsoftware.com/wiki/User:Raul_Miller/ParsingJ

Another link I might share is the one for searching our forum:

http://www.jsoftware.com/forumsearch.htm

As others have said and likely will say, don't hesitate to ask questions
here.




---
This email has been checked for viruses by AVG.
https://www.avg.com

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to