This question already has an answer here:

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.


marked as duplicate by Mr.Wizard Aug 28 '14 at 18:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 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 Aug 28 '14 at 18:11
  • $\begingroup$ Ok, so the other half of the question is also refused? $\endgroup$ – qazwsx Aug 28 '14 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 Aug 28 '14 at 19:07

Browse other questions tagged or ask your own question.