hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.9K
active users

@mattly I think Smalltalk just takes operations in left-to-right order when no parens are present, which might cause some people to complain but seems much better than the status quo

Jon (Snarf) Mason

@technomancy I'm not 100% sure it's what @mattly was thinking of, but I think so.

Anyway, a language called Pony makes it a syntax error to mix operators without parens: i.e. 1+2+3 is fine but 1+2*3 is a syntax error.

PEDMAS or BODMAS or whatever can go eat a bag of Dick's (meaning the burger place, of course).

@snarfmason @mattly I will always have a place in my heart for Smalltalk's approach due to its sheer idgaf attitude but I do have to admit this is the better solution overall

@technomancy @mattly well as a fellow Smalltalk lover, I can't fault you there. And frankly just evaluate left to right is still better then trying to remember binary operator precedence.