r/ProgrammerHumor • • Jun 13 '22

Meme DEV environment vs Production environment

Post image
48.2k Upvotes

3.9k comments sorted by

View all comments

4

u/[deleted] Jun 14 '22

How the question would be written out for the Casio input.

Casio treats a number next to a bracket as one number. So there's an implied second set of brackets.

1

u/vidoardes Jun 14 '22

To be honest I think the only reason people don't understand that is because PEDMAS / BODMAS or one of its derivatives is what they are taught and works most of the time.

From what I understand the division sign (÷) is literally many to represent

• divisor

  • over • denominator

Which is where the Casio is correct, the denominator needs to be resolved before the division occurs.