Alternatives to procedural loops and iterating over lists in Mathematica
How to make use of Associations?
Alternatives to procedural loops and iterating over lists in Mathematica
While there are some cases where a For loop might be reasonable, it's a general mantra one I subscribe to myself that "if you are using a For loop in Mathematica, you are probably doing it wrong". ...
- asked by Mr.Wizard (91 votes), answered by Mr.Wizard (59 votes)
How to make use of Associations? http://mathematica.stackexchange.com/questions/52393/how-to-make-use-of-associations
I have been curious about it for long. Now that Mathematica 10 arrives, I think it's time to ask the question: How the new Association data structure would be used to improve Mathematica programming? ...
- asked by Yi Wang (53 votes), answered by Leonid Shifrin (54 votes)