Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #3354
| From | Alan <alan.isaac@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: what's in a name? (legal and conventional constructions of identifiers) |
| Date | 2011-06-29 21:29 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <iug5g8$9ek$1@smc.vnet.net> (permalink) |
> http://reference.wolfram.com/mathematica/tutorial/BasicObjects.html Thank you. That provides extra info, which imo should be linked from the DefiningVariables documentation. I note that it does not define "letter-like form" and still does not warn users not to use underscores in variable names (which is a known common mistake of newcomers). In terms of my question, it also does not (directly) address the question of convention that I raised. It is often desirable to break names into parts with a special symbol. (E.g., where many languages would use an underscore.) I'm guessing from what I've seen that users most often introduce symbols of the form prta$prtb. An alternative practice (that I actually have not seen in use, but I'm a neophyte) would be to use contexts: prta`prtb. I find the latter a bit harder to read as a single name; are there other considerations? Thanks, Alan
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: what's in a name? (legal and conventional constructions of identifiers) Alan <alan.isaac@gmail.com> - 2011-06-29 21:29 +0000
csiph-web