This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Improving Scheme readability

Posted by: Anonymous [ip: 129.246.254.112] on April 04, 2008 11:33 PM
A serious advantage of Scheme and other Lisps is that they are homoiconic - that is, when you type in code, you can see exactly what
underlying data structures it's going to be represented as, making macros and code-generating-code remarkably powerful.
But a serious problem with Scheme and other Lisps is that it's hideously hard to read (and I've used Lisps for more than 20 years).
I've been trying to fix that; see http://www.dwheeler.com/readable and its associated mailing list.

For example, here's the cube example above:

define cube(x) {x * x * x}

#

Return to It's time to learn Scheme