This question mentions "x := x = trickery". What does defining a function as f[x_] := f[x] = ... do and what is it good for?
... or are they unnecessary in such a high-level language? I've been thinking about programming style, coding standards and the like quite a bit lately, the result of my current work on a mixed ...
I really miss having something like a struct in Mathematica. I know of (and regularly use) a couple of programming techniques which feel like a ...
In Mathematica there are different objects like InterpolatingFunction or SparseArray? How can I define a custom data object with ...
The basic problem I have been running into is making readable code, where in other languages I am more familiar with I might have been using class or struct like objects. For example, you can imagine ...
A while ago I learned a trick which allows one to imitate object-oriented programming in MMA using SubValues: ...
Roman Maeder's object oriented programming package is nice, but I'm hoping someone can suggest a sleek and novel implementation that is easy to use.