Re: Question regarding Mathematica's treatment of whitespace
- To: mathgroup at smc.vnet.net
- Subject: [mg61869] Re: Question regarding Mathematica's treatment of whitespace
- From: carlos at colorado.edu
- Date: Wed, 2 Nov 2005 04:09:41 -0500 (EST)
- References: <dk1k2g$9p9$1@smc.vnet.net><dk4cun$rum$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Mathematica should mandate ; as terminator of any expression, as in C. Then problems such as the one noted by the OP would disappear: with CR/LF uniformly ignored source interpretation becomes more linebreak independent. Also the common warning about "this statement will be interpreted as implicit multiplication" in modules, with consequent risk of infinite recursion, would go away. To get an expression printed a short construct such as a = Sin[Pi/2] >>; which outputs "a=1" could be introduced to avoid the verbosity of Print. This could be easily edited in and out in module debugging.
- Follow-Ups:
- Re: Re: Question regarding Mathematica's treatment of whitespace
- From: Murray Eisenberg <murray@math.umass.edu>
- Re: Re: Question regarding Mathematica's treatment of whitespace