this post was submitted on 13 Feb 2024
-37 points (21.5% liked)
Showerthoughts
28953 readers
960 users here now
A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. The best ones are thoughts that many people can relate to and they find something funny or interesting in regular stuff.
Rules
- All posts must be showerthoughts
- The entire showerthought must be in the title
- Posts must be original/unique
- Be good to others - no bigotry - including racism, sexism, ableism, homophobia, transphobia, or xenophobia
- Adhere to Lemmy's Code of Conduct
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
My guess is that in real world applications, it makes more sense to think about things in terms of multiplying values together and then adding the total. Like if you have a list of products, with prices and quantities for each, to get the total value you multiply each quantity by its price and then add them all together.