Comment on ))<>((
Ultraviolet@lemmy.world 7 months agoI would never write -n². Either ‐(n²) or (-n)². Order of operations shouldn’t be some sort of gotcha to trick people into misinterpreting you, it’s the intuitive reading of a well constructed mathematical expression.
SmartmanApps@programming.dev 7 months ago
It isn’t. With ‐(n²), n² is already a single term, so the brackets aren’t needed.