I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't encountered yet. Where (books, websites, etc.) do I look for examples of good (best?) practices of Mathematica programming?
|
feedback
|
|
Here's the full list that I started here A collection of Mathematica learning resources and updated here http://stackoverflow.com/a/8673695/884752. As this site is dedicated to Mathematica it makes more sense to maintain it here. This represents a huge amount of information, don't hesitate to share it and suggest other interesting links! Here's a collection of resources I started to collect for a friend who wanted to learn Mathematica. As it grew bigger It thought it would interest other people. Of course it's not exhaustive so feel free to reply with related links. Introduction
Basic advices for people new to MathematicaFunctional style Avoid iterative programming using loops like For, use instead
functional programming functions
Transpose and Dimensions
Programming easily
The backbone of Mathematica: Rules (more advanced)
Tutorials
Tips and tricksGeneral tricks
Tips for writing fast code
Packed arrays
Compile
Advanced evaluation of expressions
Manipulate
FAQ
Wolfram Websites
Mathematica one liner competition
Wolfram technology conferences 2011 2010 2009 2007 2006 2005 2004 2003 2001 1999 1997 1994 1992 Blogs
Personal websites
Calculus
ForumsMathGroup
StackX
Books
Getting ideas from Lisp
Links to some packages
Packages for preparing publication-quality scientific figures
Useful non-free tools for development, deployment, distribution, linking, etc.
| ||||
|
feedback
|
|
Since you're at the level to self-identify as a pretty good Mathematica programmer, I'm sure you're past (or are aware of) the obvious answers such as Stephen Wolfram's Mathematica book and Sal Mangano's Mathematica cookbook. You can read Leonid Shifrin's book Mathematica programming: an advanced introduction for some interesting corner cases and examples in different programming paradigms. I've found that even if the topic/goals of the chapter are known to me, I learn something from the code examples. Another really good book for inspiration on visual examples and demonstrations is Stan Wagon's Mathematica in Action and you can also see some of his examples on his demonstration page. I'm fairly certain you know about him and the book, given your question on Reuleaux rollers. Of course, there're the Mathematica Guidebooks by Michael Trott, but I've found it way too big to actually sit down and learn something in a focused manner. What I normally do is to flip through randomly and stop somewhere (perhaps an interesting graphic, if it's the graphics volume) and try to look through his code samples. Recently, I've been learning a lot from some of the entries to WRI's annual one-liner contest. The goal is to write the most impressive function/demonstration in 140 characters or less (i.e., you can tweet it). This competition attracts some of the finest users of Mathematica and it really takes me a while to break down some of the entries to figure out what's going on. You can see this year's entries here and search for the previous years'. | ||||
|
feedback
|
|
Besides the documentation, which I find very helpful, I also like the following resources:
As noted above, however, I normally use the documentation and look through examples of uses, as that's my best way of learning. | |||||||
feedback
|
|
For neat tips and tricks, there is a daily tip posted to the MathematicaTip twitter page. | |||||
feedback
|
|
I highly recommend examining the included packages under your Mathematica installation directory:
| |||
|
feedback
|
|
The Mathematica GuideBook by Michael Trott always gives me lots of inspirations. Beside of it (and other places been mentioned above), I like exploring the SystemFiles folder. Some interesting tricks (especially about interface and FrontEnd) are hiding there. | |||||
feedback
|
|
Nobody's mentioned the packages that come with Mathematica. There's a heap of great coding examples in there, especially the later packages. | |||
|
feedback
|
|
The 'Mathematica GuideBook' series by Michael Trott has tons of good examples that go much further than typical 'toy-examples'. I found it a very valuable and thorough ressource for learning the ins and outs of the Mathematica language. | |||
|
feedback
|
|
A poster on MathGroup gave a list of resources back in October that is pretty useful. It's a large list so its easier to link to it than reproduce it here. | ||||
|
feedback
|
|
Not strictly a Mathematica blog but Rip’s Applied Mathematics Blog is a very nice resource for advanced Mathematica problem solving. Rip makes regular weekly posts on whatever interests him that week and they usually include some neat implementation in Mathematica. | |||||||||||||
feedback
|