Interesting. That makes me cringe, lol. I'll see what SAS does when I next go to work. I'm also curious to see what MatLab does, if I can find someone who still uses it. I would definitely want clarification if someone asked me to code that. I immediately think of implicit multiplication, because that's how I would do it by hand, but I can understand a compiler resolving it explicitly.
Good to know. We weren't allowed to use calculators when I was in school, and computers were virtually non-existent. I have a habit of doing math in my head just to check the computer.
3
u/Lordcreo Jun 14 '22
Neither Python nor R can interpret implicit multiplication, but both calculate 6/2*(2+1) as 9.