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

In Maple sin(x) is "sin(x)", in Mathematica it's "Sin[x]", ewww


The Maple syntax may superficially seem easier but actually leads to more problems in practice. The point of the [ ] is that argument of a function is logically distinct from algebraically grouping terms in an equation. Also, Mathematica is a camel case language since underscore is for pattern recognition, hence the capitalization of function names. Personally, I’ve found every little Mathematica design feature to be incredibly well thought out, logical, and consistently implemented over the whole of the language.


In my opinion, Wolfram/Mathematica is more consistent internally, while Maple is more consistent with the usual mathematical notation.


> while Maple is more consistent with the usual mathematical notation

I can't tell if you're saying that as if it's a good thing, or a bad thing.


It's not about good nor bad, but about the different trade-offs that these two CASs made. What is more important for you is something that you can only answer for yourself.


I actually loved this idea so much that every language I make, I try to do the same. The point of it is that typing ( requires shift, while [ does not. And you have no idea when you have tunnel syndrome, how much it hurts each time you write a (. While it’s ugly, the hand thanks you for it.


> The point of it is that typing ( requires shift, while [ does not.

https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-co...

Now, I really could've used something like this on macOS…

Karabiner to the rescue https://genesy.github.io/karabiner-complex-rules-generator/#...


As everybody knows ...


I use(d) arch btw


Ironically, on ISO keyboards, [] need an ALT so even more pain




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

Search: