Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The only 'programming language' they know is mathematica which I think is a real shame.

Mathematica is a real functional programming language. It's a lisp with CamelCase builtins and consistent naming. And that's without any of its math goodness. It has superb documentation and a huge standard library. If you master it, you can master any lisp with a simple translator. matlab is a toy by comparison.



A key concepts beyond Mathematica are pattern matching and rule-based programming, but not a functional programming.

Yes, it has lambdas and first-class functions, but that's it. What about closures, for example? Therefore one would better not call Mathematica "a real functional programming language".

BTW, rule-based paradigm and pattern matching is a standard feature of languages from Lisp family, e.g. Scheme. From that point of view Mathematica is not something unique.


It is a feature of those systems, but not the foundation.

Mathematica is a term-rewriting system. This is a fundamentally different model of computation from the lambda calculus.

There are many practical consequences of this, in terms of the design of individual language constructs, and in how the language is used generally.


There are many practical consequences of this, in terms of the design of individual language constructs, and in how the language is used generally.

That's interesting. Can you say what some of these consequences are?


The order of evaluation is a bit different than Lisp. It's perhaps more like programming mostly with Lisp macros.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: