Which Is Closer: Local Beer or Local Whiskey?
blog.wolfram.com
blog.wolfram.com
I'm always blown away by the wolfram blog visualizations and variety of data sources, as well as the occasional mathematical gems they drop! But seriously, don't do meth.
But the frightening flexibility of the Mathematica language certainly doesn't help.
As to the question if you have to be a developer to write that kind of code, of course not, but you do have to be an experienced developer on that platform. I for one really like Mathematica despite the closed source and the offputting look of the source code, exactly because you can do the sort of magic shown here and actually get there pretty quickly.
Now, I hope that didn't sound too defensive :)
"To be fair, mixing meth and display logic in a giant function like that is a bad idea in any programming language."
Frankly, I agree with either statement.
I've been using a TI nSpire calculator on and off for math and it's pretty decent with respect to readability on the input and output side of things:
https://www.youtube.com/watch?v=PpmpFis8RQM
Even carries the input/output semantics into the programming language:
https://www.youtube.com/watch?v=oTdvIm9coXk
(just skip around the videos to see the input/outputs)
x^2+2x+1 = (x+1)^2;
If x=-1, then (x+1)^2 + 5 = 5
TreeForm[ x^2 + 2 x + 1 == (x + 1)^2]
+1. And it gets even more easier to read (“read”? :-) when you can select pieces in FrontEnd, with multiple mouse clicks or a corresponding hotkey. I got so used to it that I actually developed phantom pains in my editing of Html or TeX (or whatever, for that matter).
I'm sure that that blob of code would much more legible if it was better formatted.
Whenever I help novices with their code I ask them to transform all their cells that are not oneliners into code cells which require manual indentation.
Concisely, the example says, "See what you can do with Mathematica if you're us?"
They nerd to write posts that walk through how a beginner could learn to do this stuff without a 15-year career at Mathematica, or it's all sizzle and no steak.
I write and solve a lot of differential equations, and of the choices available to me, Mathematica solves more and is easier to use -- compared to the alternatives Sage and IPython. But it's way expensive compared to Sage and IPython, the latter two of which are free.
> IPython would not be where it is right now with its killer notebook interface and interactive plots if it were not for them borrowing some key ideas from Mathematica.
Don't forget Sage. Sage was modeled after Mathematica (but open-source and collaborative), IPython was modeled after Sage (but much more lightweight).
Sage is huge and getting larger, lots of specialized code for various esoteric mathematical fields, IPython has a smaller footprint and is in some ways easier to use.
[1] http://sagemath.blogspot.com/2009/12/mathematical-software-a...
Oh -- my Sage tutorial: http://arachnoid.com/sage
But only the data source is enough for me to give them money and support them ...
And their financials tools looks very interesting.
thks for the comment
Remember HN is the sum of it's parts. Be a postitive part.