Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.compilers    |    Compiler construction, theory, etc. (Mod    |    2,753 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,245 of 2,753    |
|    MattR to All    |
|    silly question: prefix vs postfix ops    |
|    03 Mar 08 10:37:52    |
      From: rosing@peakfive.com              This is more of a language question than a compiler question (and       therefore should create a religious battle :) ), but I'm wondering if       the answer has more to do with the compiler. Anyway, why are there       prefix operators that could just as well be postfix? Why is it !a and       not a!, or *a and not a* ? I can understand the increment and       decrement operators, and the & op but expressions like *a[i] would be       a lot clearer if it were a[i]*, just read the operators from right to       left. Is it a case of, well, it's always been done this way?              [We've always done it that way. -John]              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca