19,313 reputation
14386
bio website
location
age
visits member for 2 years, 10 months
seen 9 mins 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.


19,313 Reputation

60 today
60 yesterday
20 2 days ago
30 Nov 21
80 Nov 20
50 Nov 19
10 Nov 18
125 Nov 17
10 Nov 15
10 Nov 14
25 Nov 13
10 Nov 12
105 Nov 11
10 Nov 10
40 Nov 9
130 Nov 8
45 Nov 7
30 Nov 6
50 Nov 5
40 Nov 4
90 Nov 3
30 Nov 2
60 Nov 1
10 Oct 30
30 Oct 23
55 Oct 21
20 Oct 20
10 Oct 19
40 Oct 18
115 Oct 17