Some programming languages do away with operator precedence for a big parsing speed boost. J/APL and stack languages are "best known". in J, right to left parsing,
16 = 4 * 2 + 2
1. Be civil
No trolling, bigotry or other insulting / annoying behaviour
2. No politics
This is non-politics community. For political memes please go to !politicalmemes@lemmy.world
3. No recent reposts
Check for reposts when posting a meme, you can only repost after 1 month
4. No bots
No bots without the express approval of the mods or the admins
5. No Spam/Ads/AI Slop
No advertisements or spam. This is an instance rule and the only way to live. We also consider AI slop to be spam in this community and is subject to removal.
A collection of some classic Lemmy memes for your enjoyment
Some programming languages do away with operator precedence for a big parsing speed boost. J/APL and stack languages are "best known". in J, right to left parsing,
16 = 4 * 2 + 2
Assuming an equation with no context is anything but standard mathematics is peak "well, technically"
There's big advantages to no precedence rules. You don't have to remember them all. Haskell/SML family create nightmares from trying to have user defined operators with precedence "value" of 0-10. Operators are extremely powerful syntax simplification, but precedence rules makes them too hard to mentally parse.
Null.
Wait, which numeral system are we using
2+2*4=16~4~ ☝️🤓
Not with that attitude it's not!?!
(Americans be like: skill issue, git guud)
wrong sub should be a shitpost
People who are responsible for the Wayland protocol: "This seems like a good idea, but also give veto rights to weirdos."