4,357 reputation
21649
bio website
location
age
visits member for 3 years
seen 2 hours ago

May
17
comment How do I evaluate only one step of an expression?
An application of step is here for compiling more functions: mathematica.stackexchange.com/a/24596/66
May
16
answered Can one identify the design patterns of Mathematica?
May
16
revised Where can I find examples of good Mathematica programming practice?
added 159 characters in body
May
13
comment Can one identify the design patterns of Mathematica?
Yes I agree that some examples are standard language features, but they are still methods often used to solve problems, and not common to other languages, idioms like you said.
May
13
revised Where can I find examples of good Mathematica programming practice?
added 93 characters in body
May
13
comment Can one identify the design patterns of Mathematica?
Other ideas: nested lists, lazy lists, using UpValues on structures of the form headType[data1,....]
May
13
comment Can one identify the design patterns of Mathematica?
Many examples can be found here mathematica.stackexchange.com/a/8617/66 and could be used in this post.
May
13
comment Can one identify the design patterns of Mathematica?
Some ideas: closures, using Reap and Sow, Options, using Block to temporarily have global variables, With to inject code inside held expressions (Villegas-Gayley trick), use of Compile for speed critical code, use of functional programming, HoldAll attributes, Dispatch, any form of struct (the most simple one is struct["name"]=property)
May
9
revised Where can I find examples of good Mathematica programming practice?
added 54 characters in body
May
8
revised Where can I find examples of good Mathematica programming practice?
added 54 characters in body
May
6
revised Where can I find examples of good Mathematica programming practice?
added 52 characters in body
May
6
revised Compiling more functions that don't call MainEvaluate
edited tags
May
6
accepted Compiling more functions that don't call MainEvaluate
May
5
revised Compiling more functions that don't call MainEvaluate
added 75 characters in body
May
5
revised Compiling more functions that don't call MainEvaluate
added 92 characters in body
May
5
revised Where can I find examples of good Mathematica programming practice?
added 51 characters in body
May
4
revised Compiling more functions that don't call MainEvaluate
added 191 characters in body
May
4
revised Compiling more functions that don't call MainEvaluate
added 96 characters in body
May
4
revised Compiling more functions that don't call MainEvaluate
added 86 characters in body
May
4
revised Compiling more functions that don't call MainEvaluate
added 44 characters in body