Re:Ask HN: What are the best acronyms that programmers shoul...
by gtvwill on Wednesday May 10, 2017 @10:55PM
(#14313549)
PEMDAS
Mathematical order of operations.
Parenthesis, exponent, multiply, divide, add, subtract.
I only learnt this a year ago and it's almost embarrassing how much my maths or ability to understand math has improved from this(I'm 28 and never gotten taught this in schools general maths so I used to find math really difficult).
[ Parent
| on HN ]
Re:Ask HN: What are the best acronyms that programmers shoul...
by saurabhn on Thursday May 11, 2017 @03:28PM
(#14318777)
To complete the picture, you might've been taught a completely different mnemonic in other countries. The one I was taught was BODMAS ( "B"rackets, "O"f or "O"rder, "D"ivision, "M"ultiplication, "A"ddition and "S"ubtraction) and some African countries teach this as BIDMAS [0]. Caused a lot of confusion when I came to the US and drew a blank when someone mentioned PEMDAS in an example.
[0]: https://en.wikipedia.org/wiki/Order_of_operations#Mnemonics
Re:Ask HN: What are the best acronyms that programmers shoul...
by neilsimp1 on Thursday May 11, 2017 @08:21AM
(#14315474)
I'm curious, where did you go to school. I remember learning PEMDAS in 6th grade (New York State) and it's been burnt into my brain since.
Re:Ask HN: What are the best acronyms that programmers shoul...
by gtvwill on Friday May 12, 2017 @08:24AM
(#14323346)
Australia, mid price private school in the country. I was blown away to have never had it expressed during school after learning it.
Re:Ask HN: What are the best acronyms that programmers shoul...
by wingerlang on Thursday May 11, 2017 @07:23AM
(#14315227)
How come it was never taught?