I teach beginning programmers (college comp sci students, to be precise). No, the precedence of
== isn’t generally a problem for them; however,
% itself does often seem to present a minor hurdle to people who are new to programming.
“But it’s just remainder! obvious! everyone knows modulus! etc!” cry the experienced multitudes. Well, maybe it was always obvious to many of you, or maybe you forget what it was like to be inexperienced, but either way, it's just a fact that I’ve noticed
% itself being a source of minor confusion for some subset of beginners.
Is that confusion sufficient to justify this proposal on its own? Perhaps not — but I’d say the potential mistakes are sufficient, particularly testing oddness with
n % 2 == 1. If helping inexperienced developers is a goal here, I have no doubt that the proposed
isMultiple(of:) would be more readable to them, and
isOdd less error-prone.
Helping beginners to this extent may be a non-goal, but if it is, there’s the read of the landscape from where I stand. It’s only casual observation, but at least it’s not speculation.