Patrick Lam wrote:
[Mike informing of the C++ way]
>
> I don't like first and second. I think we should keep 'car' and
> 'cdr'. Irrational? Yes. So what?
Perhaps if we start to think about other maintenance programmers down the
road...
AbiWord is implemented in C++. As such, I'm not especially humble in my
opinion that we should use established C++ conventions. Like has nothing to
do with it.
When in Rome...
To me it seems like plain obfuscation to call the two elements of a pair
"car" and "cdr". These TLAs has absolutely no meaning in C++, not to mention
the fact that they are *completely wrong* to use in a "pair". Those other
maintenance programmers will also ask this question again and again. Is that
a Good Thing? Even in the light that using "first" and "second" would remove
all shadows of a dubt?
I hope this answers your "So what?".
/Mike