My previous post understandably prompted a request or two for what I believe are good examples of the type of code that I'm looking for. Here is one piece of code that I had in mind. This is a Lisp version of an example program that was originally written in C. The C version is quite good. The Lisp version is nearly perfect, in my opinion.( Collapse )
This code still has some issues (all issues shared with the C version).
- In this code, years and days are entirely independent.
- It is not obvious from this code what the arguments to
- It is not obvious what the arguments to
Almost everything else is completely transparent to one who
knows enough Lisp. Even without knowing Lisp,
is the only thing that may not be readily obvious from the formatting
and naming conventions.