19,838 reputation
14387
bio website
location
age
visits member for 2 years, 11 months
seen 1 hour 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.


205
× 16
65
× 3
40
× 7
29
× 5
197
× 19
64
× 6
40
× 5
29
169
× 27
63
× 12
38
× 5
28
× 6
165
× 15
63
× 7
36
× 5
28
× 5
157
× 11
58
× 4
36
× 3
26
× 2
135
× 18
52
34
× 4
26
× 2
129
× 16
49
× 3
33
× 5
26
116
× 6
48
× 2
32
× 3
25
× 3
98
× 9
44
× 7
31
× 4
24
× 3
95
× 5
44
× 6
30
× 4
23
× 4
91
× 6
44
30
× 3
22
75
× 3
41
× 6
30
× 3
21
× 2
70
× 11
41
× 2
30
21