23,078 reputation
bio website
visits member for 3 years, 1 month
seen 13 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.

23,078 Reputation

10 today
+10 4 hours ago upvote
35 yesterday
20 2 days ago
10 Mar 3
20 Mar 2
40 Mar 1
70 Feb 28
20 Feb 27
10 Feb 26
20 Feb 25
40 Feb 24
10 Feb 23
10 Feb 22
10 Feb 21
45 Feb 19
190 Feb 18
95 Feb 17
95 Feb 16
20 Feb 15
80 Feb 14
75 Feb 12
10 Feb 11
10 Feb 8
85 Feb 7
10 Feb 5
50 Feb 4
30 Feb 3
45 Feb 2
40 Feb 1
70 Jan 31