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:
“I now thinke, Love is rather deafe, than blind,
For else it could not be,
That she,
Whom I adore so much, should so slight me,
And cast my love behind:
Im sure my language to her, was as sweet,
And every close did meet
In sentence, of as subtile feet,
As hath the youngest Hee,”
—Ben Jonson (15721637)
“What has been the effect of [religious] coercion? To make one half the world fools, and the other half hypocrites. To support roguery and error all over the earth.”
—Thomas Jefferson (17431826)