Login
You're viewing the code4lib.social public feed.

Replies

  • Jul 30, 2026, 5:02 PM

    @gkrnours @Colinvparker @SmartmanApps It does matter, though, because x-y+1 might mean x-(y+1) which *is* different. If, in context, this is obviously meant to be a polynomial in two variables then we can trust that x + (-y) + 1 is the correct interpretation, but in some other contexts I would still demand parentheses or reordering.

    💬 3🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Aug 2, 2026, 8:10 AM

    @SmartmanApps @Colinvparker @zwol
    you put the actor at the wrong place, like an actor putting the bracket at the wrong place :3

    In my opinion, the person writing the formula should add the bracket so their intent is clear. Maybe they [have learnt/misremember/are used to a weird programming language where] × have priority on ÷ and they meant 18÷(3×2) but omitted the bracket because it's superfluous in their head. With the bracket, everyone agree. Plus you can rewrite it 2(18÷3)

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0