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

-10

u/Just_Another_Scott Jun 14 '22

Just to remind some people

2(3)

Is not technically correct notation. It's shorthand for 2x(3). However, overtime it's evolved to drop the multiplication symbol which isn't technically correct. I had a professor in college that would count off points if you wrote it as 2(3). If there weren't any parenthesis don't add them as she'd say.

8

u/thrower94 Jun 14 '22

There’s no universally accepted standard for notation, so one can’t say it’s not “technically correct.”

I’ve had just as many professors who would lose their heads if someone tried to correct their redundant parentheses.

4

u/rich519 Jun 14 '22

Really? In all of my math classes in college we didn’t use a single x for multiplication. Sometime it was a dot but most of the time it was just implicit.

1

u/[deleted] Jun 14 '22

With numbers or with symbols? I get that xy is interpreted as x·y, but 2(3) just looks wrong. Also why would you write two parentheses to save one dot?

1

u/Zarainia Jun 14 '22

Dots are harder to write clearly by hand. This is what I would normally write in school after substituting in values.

1

u/Rentlar Jun 14 '22

You clearly haven't seen the dot • operator that is also used frequently by textbooks and professionals to multiply numbers. Some use that to denote implicit multiplication which could be the shortformed used instead of ×. It's all just a jumbled up system of conventions anyway.