4 ms·
In Maple sin(x) is "sin(x)", in Mathematica it's "Sin[x]", ewww
by jjgreen 11mo ago
In Maple sin(x) is "sin(x)", in Mathematica it's "Sin[x]", ewww
- aleph_minus_one 11mo agoIn my opinion, Wolfram/Mathematica is more consistent internally, while Maple is more consistent with the usual mathematical notation.
- DonHopkins 11mo ago> 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.
- aleph_minus_one 11mo agoIt'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.
- pmkary 11mo agoI 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.
- SSLy 11mo ago> The point of it is that typing ( requires shift, while [ does not. https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/blob/8aa73d2c9a5a7391538c932e265f89c416b53138/rules/base.extras.xml#L1925 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/#eyJ0aXRsZSI6IkV4Y2hhbmdlIHBhcmVuIGFuZCBzcXVhcmUgYnJhY2tldCIsInJ1bGVzIjpbeyJkZXNjcmlwdGlvbiI6IkV4Y2hhbmdlIHBhcmVuIGFuZCBzcXVhcmUgYnJhY2tldCIsIm1hbmlwdWxhdG9ycyI6W3sidHlwZSI6ImJhc2ljIiwiZnJvbSI6eyJrZXlfY29kZSI6Im9wZW5fYnJhY2tldCIsIm1vZGlmaWVycyI6eyJvcHRpb25hbCI6WyJjYXBzX2xvY2siXX19LCJ0byI6W3sia2V5X2NvZGUiOiI5IiwibW9kaWZpZXJzIjpbImxlZnRfc2hpZnQiXX1dfSx7InR5cGUiOiJiYXNpYyIsImZyb20iOnsia2V5X2NvZGUiOiI5IiwibW9kaWZpZXJzIjp7Im1hbmRhdG9yeSI6WyJzaGlmdCJdLCJvcHRpb25hbCI6WyJjYXBzX2xvY2siXX19LCJ0byI6W3sia2V5X2NvZGUiOiJvcGVuX2JyYWNrZXQifV19LHsidHlwZSI6ImJhc2ljIiwiZnJvbSI6eyJrZXlfY29kZSI6ImNsb3NlX2JyYWNrZXQiLCJtb2RpZmllcnMiOnsib3B0aW9uYWwiOlsiY2Fwc19sb2NrIl19fSwidG8iOlt7ImtleV9jb2RlIjoiMCIsIm1vZGlmaWVycyI6WyJsZWZ0X3NoaWZ0Il19XX0seyJ0eXBlIjoiYmFzaWMiLCJmcm9tIjp7ImtleV9jb2RlIjoiMCIsIm1vZGlmaWVycyI6eyJtYW5kYXRvcnkiOlsic2hpZnQiXSwib3B0aW9uYWwiOlsiY2Fwc19sb2NrIl19fSwidG8iOlt7ImtleV9jb2RlIjoiY2xvc2VfYnJhY2tldCJ9XX1dfV19 https://genesy.github.io/karabiner-complex-rules-generator/#...
- zwaps 11mo agoIronically, on ISO keyboards, [] need an ALT so even more pain
- superposeur 11mo agoThe 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.