

In a sense, these people are your collaborators, and it makes sense to use the resource. The people writing the code behind Wolfram Language probably spend a lot more time understanding the deep details of the computer science behind algorithms, even if the code is eventually written in c or some other imperative language. I have seen this mantra for other languages (objective-c and Swift - I am/was a Mac developer). The utility of Wolfram Language is that you can mix programming styles to match what you want to do.Īlso, the "best" code is code where you have to write the least. The trick is to understand what you want to do in terms of these functions. This is particularly true for any type of for-next loop construction. In general, using built-in Wolfram Language functions is going to be faster than rolling your own.

And Henrik, thanks for the link to Rosetta Code: quite interesting. Szabolcs provides a lot of ideas and useful examples, although some of the references he gives were hard to understand. I am essentially a Mathematica-oriented practitioner, and rather than trying to promote or sell the advantages of the language (in which I firmly believe, perhaps because I practically know nothing else), I wish to provide clear-cut examples where functional programming is faster to write, easier to understand and very good in performance terms (and also, as Frank says, easier to debug) than procedural or imperative languages.Īll this said, I must add that reading the replies has been extremely useful and I sincerely thank you all.

Far from me the idea of starting a flame war, as Matthew says. speed of execution, import and export facilities, storing results - not only programs or notebooks, but also intermediate results) and of course the quality of the language and how easy it is to get programs up and running, testing code, combining text, code, images, etc. I have been a user of Mathematica for some time, and was in the process of preparing an introductory talk for students when I thought I might benefit from other users experience, looking for a few examples where the power of functional programming could be best shown, both in terms of operational power (i.e. I am not a computer scientist and parts of those answers are well above my level of understanding. I greatly appreciate the various answers in response to my question.

Wolfram Data Framework Semantic framework for real-world data.
