Re:A cheat-sheet for mathematical notation in code form
by tda on Sunday September 12, 2021 @02:40AM
(#28499095)
And that is why perhaps so much of us like programming: there is exactly one correct way to interpret code. And stylistic differences (different notation for the same thing) are usually discouraged with style guides
[ Parent
| on HN ]
Re:A cheat-sheet for mathematical notation in code form
by Jensson on Sunday September 12, 2021 @02:55AM
(#28499156)
> there is exactly one correct way to interpret code
No, there are different compilers, languages or even language versions or compilers settings. Programming notation is way harder and more confusing to learn than the math equivalent just because they are so many more styles languages or versions etc. And we all know that learning all of those symbols and keywords isn't the main difficulty with learning programming or new programming languages.