this post was submitted on 16 Jul 2023
1665 points (96.5% liked)
Memes
45673 readers
690 users here now
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Just notational difference other than presence of mutation.. How is it harder to understand
3 + 6 + 9 + ... + 3n
means compared to the for loop? Is repeated addition hard to grasp?No it's not harder to grasp, just less concise. Summation and Product notation exist for the same reason we don't say "a discernible but subtle level of humidity" and just use "moist" instead - it's more convenient. People can be taught to readily understand "moist" or the summation notation. It's much harder to teach people to read the longer notation more quickly.