I’ve worked with Python quite a bit and really like that that’s indented, meaning I don’t have to bother me with brackets, as in C or C++.
Mathematicas’ syntax is absolutely powerful, but often I get stuck in matching brackets cause the expressions are very complex and nested.
I’d like you developers to change the syntax and make it “bracket-free” as much as possible, or at least introduce automatic indentation when needed.
I suggest to look at Python syntax. More, it’d be useful if you simplified function template selection and removed square brackets for built-in functions. Ex. Cos[x] becomes Cos x , and its being alone in its line cuts off all the ambiguities.
Hope it helps. Cheers and good job, I really love your software!
Square brackets [ ] are an integral and unavoidable part of Mathematica code. You can often use @ in an alternative form in place of brackets. Try for example
Square brackets [ ] are an integral and unavoidable part of Mathematica code. You can often use @ in an alternative form in place of brackets. Try for example
Thanks for reply! I didn’t know this use of @ in the language, so thanks!
I know it’s part of the language, but I just think Mathematica would be clearer without brackets. Don’t you think so? I’d like to get your impressions.