Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

14
  • 1
    $\begingroup$ I have heard Mathematica being called a multi paradigm language. $\endgroup$ Commented Dec 30, 2013 at 10:08
  • $\begingroup$ +1 I believe that once you understand the Mathematica evaluation and the use of With you can do almost anything with Mathematica. $\endgroup$ Commented Dec 30, 2013 at 10:15
  • $\begingroup$ @JacobAkkerboom, I've heard the same, so I will add some notes to reach a wider audience. Thanks! $\endgroup$ Commented Dec 31, 2013 at 0:10
  • 1
    $\begingroup$ An easy way to understand Mathematica's evaluation: consider a function/tree f[a,b]. Without any particular attribute for f the leafs/arguments will be evaluated before the parent f. With f having a HoldAll attribute you don't evaluate the leafs but go directly in the evaluation of f. a and b will be evaluated as soon as they are used in a function that doesn't hold again their evaluation. Example SetAttributes[f, HoldAll]; f[a_,b_]:= a Hold[b]; f[2^2,2^2] $\endgroup$ Commented Dec 23, 2014 at 20:38
  • 1
    $\begingroup$ "Everything in Mathematica is an expression" - not Dataset, which has its own type system under the hood and doesn't work with external pattern matching and replacement. $\endgroup$ Commented Jul 1, 2015 at 18:29