Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Common Lisp on wikibooks

Name: Anonymous 2010-04-25 5:25

Name: Anonymous 2010-04-25 5:45

They seem to have made some mistakes, for example their HelloWorld example is misleading:
(print "Hello World!")
Hello World!


(print "Hello World!") should print "Hello World!", not "Hello World!"(without quotes). If he wanted to remove the quotes, he should have used princ, or bind the required dynamic parameters accordingly.

Name: Anonymous 2010-04-25 6:19

They have their priorities all wrong: Hash tables + "Advanced Functional Programming" i.e. higher order functions are in "Advanced Topics", but they put macros in "Basic Topics".

Name: Anonymous 2010-04-25 6:31

>>3
Macros should be learned a bit early on, as it's an important building block of the language. They should be explained after one understands functions properly. Even if the user doesn't write many macros at first, at least he can use the knowledge he gains to better understand the language and at the same time, gain useful debugging knowledge(since large parts of the language are built on macros). Although, I think they don't give Packages and Symbols enough space. Those should also be presented fairly early, otherwise they might cause confusion.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List