Language Support
Many programming languages such as Lisp and Scheme have singly linked lists built in. In many functional languages, these lists are constructed from nodes, each called a cons or cons cell. The cons has two fields: the car, a reference to the data for that node, and the cdr, a reference to the next node. Although cons cells can be used to build other data structures, this is their primary purpose.
In languages that support abstract data types or templates, linked list ADTs or templates are available for building linked lists. In other languages, linked lists are typically built using references together with records.
Read more about this topic: Linked List
Famous quotes containing the words language and/or support:
“Poetry is the universal language which the heart holds with nature and itself. He who has a contempt for poetry, cannot have much respect for himself, or for anything else.”
—William Hazlitt (17781830)
“Can you support the expense of a husband, hussy, in gaming, drinking and whoring? Have you money enough to carry on the daily quarrels of man and wife about who shall squander most?”
—John Gay (16851732)