Stupid! Precedence! Errors!
Jun. 26th, 2003 11:03 pm<< has a lower precedence than + ?! Whose idiotic idea was that?!
On a less irritating note, another word that ought to exist:
ex•ply \ eks'plı̄ \ vt explied; explied; explying; explies [ By analogy with "imply" ] : To make explicit. 〈I know it what obvious, but I wanted to ~ it so it could be official.〉
In order to feed the hysterical porpoises, the credit for this one goes to Nick. Don't ask why.
On a less irritating note, another word that ought to exist:
ex•ply \ eks'plı̄ \ vt explied; explied; explying; explies [ By analogy with "imply" ] : To make explicit. 〈I know it what obvious, but I wanted to ~ it so it could be official.〉
In order to feed the hysterical porpoises, the credit for this one goes to Nick. Don't ask why.
no subject
Date: 2003-06-26 09:43 pm (UTC)Really, why shouldn't it? It makes sense to me...
no subject
Date: 2003-06-27 10:28 am (UTC)*checks chart*
Oh, it has higher precedence than & / | / ^ . Well, that makes sense, anyway. And if I had just used | instead of + in the first place there wouldn't have been that problem.
But I still think it should be higher than +.
Re:
Date: 2003-06-27 12:16 pm (UTC)Eh, I'm not computery enough to be discussing this.
no subject
Date: 2003-06-28 09:15 am (UTC)Anyway that's just in C++, which keeps the same precedences from C. So that still leaves the question of why shifting has a lower precedence than addition in C.
(I suppose it's because | already had lower precedence than << and >>, and they figured that would be more common in that context, and that if you used + with shifting, you probably wanted to... eh, who cares.)