September 2010
Intermediate to advanced
640 pages
15h 57m
English
Represent language expression with a literal list.
martin.follows("WardCunningham", "bigballofmud", "KentBeck", "neal4d");
A Literal List is a language construct for forming a list data structure. Many languages provide a direct syntax for Literal List. The most obvious of these is Lisp’s (first second third); Ruby is similar [first, second, third] but not quite as elegant. These structures usually allow lists to be nested; indeed, one way of looking at an entire Lisp program is as a nested list.
Literal Lists are usually used in a function call; the parent function will then take the elements of the list and process them in some way.
Mainstream C-based languages don’t provide a useful nested ...
Read now
Unlock full access