Precedence rules are mostly a formalization of the underlying basic convention that the operations whose terms are written closer together are done first.
But if we’re doing math mostly on computers, we should adopt rules that make writing on computers easy — not pedantically insist typing code follow the rules of handwriting polynomials.