
Second, there were students coming into the course with some previous experience using Mathematica or a strong computing background in Java or C++ and those students usually gravitated toward Mathematica or Python, respectively. First, there is a small additional bias toward Mathematica because two of the tasks are more Mathematica-friendly and only one of the tasks is more Python-friendly, as will be discussed. From a total of 297 choices, they chose Mathematica 62.6 ± 2.8% (standard error) of the time. This post looks at the choices made by the students on a per task basis and a per student basis. The course was structured so that students would get some initial exposure to both Python and Mathematica for the purposes of physics-related computational tasks, and then as the course went on they would be given more and more opportunities to choose between the two platforms when completing a task. This past year I taught two sections (fall and summer) of Computational Physics at UFV, which is quite a rare thing to happen at a school where we typically run 3rd and 4th year courses every other year. Python in my Computational Physics course Posted: Septem| Author: Joss Ives | Filed under: Computational Physics | 4 Comments But I'm not all that expert with Mathematica, and it's possible that more experienced users happily internalize the details and don't get confused as I do.Mathematica vs.

This gives Mathematica programming, for me, something of the same feel as getting a macro-expansion based system like bash or TeX to do tricky things. (The thing I find most unpleasant about programming in Mathematica is the way it tries to use pattern-matching as the single fundamental tool.

Presumably that's why subscripting is the thing that got the ugly notation with extra characters. When what you're doing in Mathematica looks more like mathematics than programming, you don't need a lot of subscripts.

And was already taken for list construction. I think it's clear enough where the ] came from: Wolfram wanted "a b" to mean "a times b", which means "a (b + c)" has to mean "a times (b plus c)", which means you need a different notation for function application they chose square brackets, which means they aren't available for subscripting (because everything, functions included, is an expression, and expressions are subscriptable) so they needed something else. Type ESC ] ESC, and you get "thick" square bracket characters instead, which looks less silly.
