Hacker News new | past | comments | ask | show | jobs | submit login

Yes. Car, cdr, and cons as the foundation of data structures turned out to be a bad idea nobody has retained.



Yes, Lisp itself abandoned the idea of car, cdr, and cons as the foundation of all data structures about 50 years ago. On the other hand, many languages further from Lisp than Python or JS did adopt the idea of car, cdr, and cons as the foundation of some data structures, notably Prolog, OCaml, Standard ML, F#, and Haskell.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: