News for hackers. Stuff that matters.
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
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.

Re:A cheat-sheet for mathematical notation in code form by tda on Monday September 13, 2021 @03:30AM (#28508768)
Of course different languages have different syntax, but it is a pretty hard requirement that within a (specific version of a language the syntax rules are both explicit and consistent.