19,303 reputation
14286
bio website
location
age
visits member for 2 years, 10 months
seen 4 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.


195
× 19
64
× 3
40
× 7
29
195
× 14
63
× 12
40
× 5
28
× 5
164
× 15
63
× 9
38
× 5
28
160
× 25
63
× 7
36
× 5
26
× 2
141
× 10
57
× 4
34
× 4
26
× 2
134
× 18
51
33
× 5
25
× 5
129
× 16
49
× 3
33
× 2
24
× 3
116
× 6
45
× 2
32
× 3
24
95
× 5
44
× 7
31
× 4
23
× 4
94
× 9
44
× 6
30
× 4
21
× 2
90
× 6
43
30
× 3
21
× 2
71
× 3
41
× 6
30
× 3
21
64
× 6
41
× 2
29
× 5
20
× 2