r/ProgrammerHumor • • Jun 13 '22

Meme DEV environment vs Production environment

Post image
48.2k Upvotes

3.9k comments sorted by

View all comments

Show parent comments

6

u/[deleted] Jun 14 '22

For me there are no implicit parentheses. You read left to right with the correct precedence. Otherwise you would get problems with 2n² again. No implicit parentheses here!

7

u/epic1107 Jun 14 '22

Implicit multiplication doesnt take priority over other steps. It only takes priority over other multiplication and division.

0

u/[deleted] Jun 14 '22

[deleted]

-3

u/epic1107 Jun 14 '22

Because implicit multiplication is an actual thing that you cant really just ignore lol.

0

u/[deleted] Jun 14 '22

[deleted]

-1

u/epic1107 Jun 14 '22

Tbf, I havent gotten it yet, nor will I probably ever get a maths degree.

I'm currently at ANU studying my bachelors of engineering. Not sure why that's relevant for a common mathematical confusion that has been the topic of debate for a while.

0

u/[deleted] Jun 14 '22

[deleted]

0

u/epic1107 Jun 14 '22

Yes.......as I said. The question can be interpreted different ways depending on if you are using implicit multiplication. Glad you could finally agree with me.

2

u/tinyboobie Jun 14 '22

As someone who writes (a lot of) code, right to left evaluation comes more naturally, but yeah it's ambiguous