16,983 reputation
13879
bio website
location
age
visits member for 2 years, 8 months
seen 4 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.


16,983 Reputation

25 today
+15 3 hours ago accept
+10 5 hours ago upvote
110 yesterday
10 2 days ago
10 Sep 19
215 Sep 18
55 Sep 17
90 Sep 16
95 Sep 13
20 Sep 12
70 Sep 11
20 Sep 9
30 Sep 8
75 Sep 7
70 Sep 6
35 Sep 5
40 Sep 4
10 Sep 3
60 Sep 2
200 Sep 1
145 Aug 31
70 Aug 30
40 Aug 29
185 Aug 28
50 Aug 27
70 Aug 26
50 Aug 25
40 Aug 24
35 Aug 23
60 Aug 22
60 Aug 21