r/programming • • Feb 23 '07

What programming languages should I teach CS students?

http://www.rfc1149.net/blog/2007/02/23/non-classical-paradigms-and-languages/
29 Upvotes

66 comments sorted by

View all comments

Show parent comment

1

u/AlanCrowe Feb 24 '07

In Common Lisp literal lists are written (a b c). You might expect that a literal vector would be [a b c], but no, it is actually #(a b c). As Steele explains "to preserve the usefulness of the user-definable macro-character feature of the function READ, it is necessary to leave some characters to the user for this purpose..."

The student has both [] and {} available to bracket his own code representations, within which he can represent the code in any way he wishes.

With most languages you are stuck with the syntax chosen by the language designer. If you think he has made a mistake you cannot fix it, so you can continue to believe that it really matters and is holding you back. With Common Lisp you can fix it. The development of programming language syntax from 0's and 1's to Pascal, C, and S-expressions was a great advance. Common Lisp forces you to face the fact that that seam has been mined out: there are no more big wins to be had with syntax.