3 ms·
Agreed. With normal math notation I can just see how something works. In programming language math notation I cant even always parse the hierarchy.
by chobytes 5y ago
Agreed. With normal math notation I can just see how something works. In programming language math notation I cant even always parse the hierarchy.
- zelphirkalt 5y agoIn general, that depends on the programming language though, and not all things in math are easy to parse and rely on precedence rules. Math is far from optimal in this aspect and I guess you just have experience in reading math.
- topaz0 5y agoMathematical notation is not perfect, but it does a pretty good job of choosing clarity when ambiguity might be a problem. For a basic example, the fraction bar for division makes groupings obvious, where a single '/' in a long string of text can get visually lost. Of course it's understandable that most programming languages would shy away from special notation like that in favor of plain text, but it gives mathematical notation a strong clarity advantage, in my opinion.