21,638 reputation
24697
bio website
location
age
visits member for 3 years
seen 6 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.


228
× 21
66
× 3
41
× 7
31
217
× 17
65
× 14
41
× 5
30
× 3
199
× 32
65
× 7
41
× 2
30
× 3
181
× 13
65
× 7
38
× 6
30
× 3
177
× 16
65
× 3
38
× 5
29
× 5
149
× 19
59
× 4
36
× 5
29
147
× 20
53
34
× 5
27
× 4
118
× 6
50
× 3
34
× 4
27
117
× 15
50
× 2
33
× 7
26
× 4
102
× 9
44
× 7
33
× 4
26
× 4
98
× 7
44
× 6
32
× 3
26
× 2
95
× 5
42
× 6
31
× 4
26
× 2
77
× 3
42
× 3
31
× 3
24
× 3