Patrick Lam wrote:
>
> On Sat, 26 May 2001, Mike Nordell wrote:
>
> > Could someone explain these TLAs?
>
> They're the standard pair accessors in LISP-like languages, where you
> create a pair with cons:
[...]
> Car stands for "contents of address register" and cdr (pronounced
> "could-er") stands for "contents of decrement register."'

Thanks for the excellent explanation, but

    Goddamit!

Yes I'm slightly annoyed, writing lisp in C++ is not what I would call
appropriate.

In C++ we have a standard library which contains a template data type
std::pair. That one contains two data members named "first" and "second".
I'm confident Sam didn't know about this when he put it in, but would anyone
mind if I fixed this once the DNS records are set straight again? (I can't
even get CVS now... :-( ). Should anyone get bored and want to fix it in the
meantime I won't complain.

I'd also like to take the opportunity to ask anyone uncertain about already
established names, please post to the list and ask before starting to
introduce wierd identifiers. To me it's like calling a hashmap a hash
_table_. It reminds me of SQL, and C++ has no such beast. If it is a map,
identify it as a map. Anything else is just confusing.

/Mike - nitpickin' and naggin'...


Reply via email to