News for hackers. Stuff that matters.
Re:The Origin of CAR and CDR in Lisp (2005) by _0ffh on Monday December 26, 2016 @12:50PM (#13259051)
Well, after all we've always used CAR and CDR! If it was good enough then, why shouldn't it be good enough now?

Also, the proposed new keywords were on average 50% longer. Just too much typing! With FST and RST they would have stood a chance. HD and TL would have been clear winners!

Re:The Origin of CAR and CDR in Lisp (2005) by AlbertoGP on Monday December 26, 2016 @02:06PM (#13259344)
That's right, but I would go one step further and have F(irst) and R(est), with obvious composition as follows: (using kruhft's examples from another thread)

    (ff  x) == (caar  x) == (car (car x))
    (rrf x) == (cddar x) == (cdr (cdr (car x)))
I would argue that it's worth sacrificing the 'f' and 'r' symbols for such a common construct.

If not, a common prefix (lacking in HD and TL) could be used:

    (.ff  x) == (caar  x) == (car (car x))
    (.rrf x) == (cddar x) == (cdr (cdr (car x)))
Yes, I realize I'm 55 years late to the party.
Re:The Origin of CAR and CDR in Lisp (2005) by tspiteri on Monday December 26, 2016 @01:18PM (#13259157)
And fst and rst allow for composition too:

    caar -> ffst
    cddar -> rrfst
Re:The Origin of CAR and CDR in Lisp (2005) by nothrabannosir on Monday December 26, 2016 @01:34PM (#13259230)
I am disproportionally moved by this elegance.
Re:The Origin of CAR and CDR in Lisp (2005) by qwertyuiop924 on Monday December 26, 2016 @01:32PM (#13259218)
But that doesn't look as nice.
Re:The Origin of CAR and CDR in Lisp (2005) by Turing_Machine on Monday December 26, 2016 @06:06PM (#13260257)
It would need to have a pronunciation convention before it could catch on.

https://people.eecs.berkeley.edu/~bh/pronounce.scm

Re:The Origin of CAR and CDR in Lisp (2005) by bhrgunatha on Monday December 26, 2016 @09:07PM (#13260838)
Instead of (f)irst/(r)est we could use (h)ead _or_ (f)irst and (r)est. Then the pronunciation is just exactly as it is spelled - https://www.youtube.com/watch?v=spefM2OjKp4