21,853 reputation
24698
bio website
location
age
visits member for 3 years
seen 8 hours ago

Frequently Asked Questions

WReach? Is that connected to WRI somehow?

The "WR" in my name has nothing to do with the company that develops Mathematica. It is just a coincidence.

Why do you start all your global variable names with $?

I use dollar signs for ad hoc global variables because I have been bitten too many times by accidentally assigning an own-value to a symbol that I happen to use, for example, in a symbolic equation. So I am in the habit of writing $x instead of x. I stick to that convention even for longer symbols like $initialUrl. Just like the regular symbol convention, Mathematica's predefined global symbols all start with a capital letter after the $. My ad hoc symbols always start with a lower case letter, so there is no conflict.

Why do you put semicolons and commas at the beginning of the line instead of at the end like a normal person?

I don't think of it that way. Rather, I switch from horizontal to vertical layout when a single expression is too long to fit on one line. This has the interesting side-effect of making the important delimiters stand out and line up. I first ran into this practice in the SQL community. SQL "programs" have the unpleasant property that they must be written as a single statement -- even if that statement is a hundred lines long (or more!). Sometimes Mathematica expressions share that property.


21,853 Reputation

50 today
20 yesterday
60 2 days ago
55 Jan 28
20 Jan 27
10 Jan 26
25 Jan 24
60 Jan 23
195 Jan 22
170 Jan 19
20 Jan 18
105 Jan 17
25 Jan 16
40 Jan 15
130 Jan 14
40 Jan 10
30 Jan 9
75 Jan 8
45 Jan 7
190 Jan 6
85 Jan 5
40 Jan 4
95 Jan 3
40 Jan 2
20 Jan 1
65 Dec 31 '14
10 Dec 29 '14
45 Dec 26 '14
60 Dec 24 '14
170 Dec 23 '14