Could someone please give an illustrative example showing the purpose of construct of form With[{var=myComputation[...]}, var/;True]? Also, I wonder what kind of reference material are available for getting familiar with programming idioms for Mathematica. I mean besides the basic syntax that one can learn and re-learn from standard documentation, there are repeated patterns that programmers use. Somewhat similar to design patterns and "proramming pearls" for Java.

  • 1
    $\begingroup$ It is known as the "Trott-Strzebonski method for In-Place Evaluation." If you search for the word "Strzebonski" you will find numerous references. I am closing this question as this is well explained already. (See the link in the header.) $\endgroup$
    – Mr.Wizard
    Commented Aug 28, 2014 at 18:11
  • $\begingroup$ Ok, so the other half of the question is also refused? $\endgroup$
    – user13253
    Commented Aug 28, 2014 at 18:59
  • $\begingroup$ Sorry, I should not have ignored that. Those questions are already addressed in various posts, including: (18), (5059), (16485), (24988) $\endgroup$
    – Mr.Wizard
    Commented Aug 28, 2014 at 19:07


Browse other questions tagged or ask your own question.