Re:Maxima (Software)
by mkl on Saturday November 20, 2021 @05:52PM
(#29292541)
It's more like Maxima is a programming language. Its syntax is weird, archaic, and clunky, and different from anything else you've ever used for no reason except that it dates back to 1968, before C, before Pascal. Assignment uses ":", blocks of statements use "(" and ")", etc. Aside from the syntax, its features are mostly pretty basic and standard, and apart from mathematics quite limited.
[ Parent
| on HN ]
> Its syntax is weird, archaic, and clunky,
Maybe if you come from a CS background. From a math background, it's syntax is actually more natural than most contemporary programming languages. For example, : is used for assignment, because = has the normal mathematical meaning. Blocks use parentheses because that's how you group stuff in math.
Maxima is very much a domain specific language, where the domain is mathematics.
I come from a maths background, and I disagree. Maths would more likely use ":=" for mutating assignment, not ":", which I've never seen. I also don't think I've ever seen a sequence of steps in maths denoted by parentheses. More commonly they're in a numbered list. 1960's ALGOL-60 used ":=" for assignment and "begin" and "end" for blocks.
I've seen := become standard in math to mean definition, not mutating assignment.
Re:Maxima (Software)
by yjftsjthsd-h on Saturday November 20, 2021 @06:50PM
(#29292882)
In fairness, "predates every other option you might compare it to" really is a good excuse.