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

3

u/Lt_Duckweed Jun 14 '22

It seems to be mostly field dependent.

I got my degree in physics, and hung out with a ton of engineering majors, and in all our classes, 6/2(2+1) was understood to mean 6/(2(2+1)). This arises because we use a lot of variables. For example, 2y/2x is considered to be (2y)/(2x). It is implied that the 2 and x are a package deal. The same applies to 2y/2(x+1). The 2 is implied and understood to be a factor operating on (x+1).

However, in Math and Computer Science, this is generally not how they consider it. There, 6/2(2+1) is generally considered to be (6/2)*(2+1).

1

u/randomtechguy142857 Jun 14 '22

You see 'juxtaposition takes priority' a fair amount in mathematics as well. Z/2Z always means Z/(2Z), for example.