News for hackers. Stuff that matters.
Re:CAR and CDR by petercooper on Wednesday November 20, 2013 @05:15AM (#6767220)
Mine is "car" and "CarDriveR" (implying first comes the car, then its driver). "CorriDoR" is another one which implies the extra length a bit better.
Re:CAR and CDR by MichaelGG on Wednesday November 20, 2013 @06:16AM (#6767383)
What's wrong with an ordinal sort? car sorts before cdr.
Re:CAR and CDR by petercooper on Wednesday November 20, 2013 @06:47AM (#6767490)
Good point!
Re:CAR and CDR by RBerenguel on Wednesday November 20, 2013 @06:04AM (#6767350)
I just hard-wired into my brain they are car and cdr (I read it as "cadar," with both a's quite like the a in car, Spanish a for me.) In a cons list, you have the car (first) and then the cadar. Think it enough times and it sinks eventually.
Re:CAR and CDR by philwelch on Wednesday November 20, 2013 @07:01AM (#6767533)
But "cadar" is also a thing: it's the car of the cdr of the car.
Re:CAR and CDR by RBerenguel on Wednesday November 20, 2013 @07:42AM (#6767643)
I know, I'm no lisp beginner, but the pronunciation of cdr is almost like "cadar". I just "Spanishised" it.