On Friday, 26 February 2016, Terje Dahl <te...@terjedahl.no> wrote:

> Lee.
>
> About the confusion with parens - do you mean that an output-ed list/seq
> looks exactly like a callable s-expression?
> Please elaborate.
>
> Terje
>

Yes. If you print the list (1 2 3) it prints as a callable form, and then
you have to get into reading, evaluation, etc.

Aphyr's Clojure tutorial series went there. IIRC the second or third
chapter was devoted to that.

On the other hand, in the Racket curriculum, they define limited subsets of
Scheme used as teaching languages; when the student first learns about
lists, they construct them using cons and they print as cons forms, i.e.
the (in-memory) list '(1 2) would print as

(cons 1 (cons 2 (cons ())))

This is the kind of simplifications that are done in the teaching languages
and that allow the course to avoid a number of advanced topics in the
beginning. It avoids a lot of confusion at the cost of a small lie and an
extra effort when you want to introduce macros and the "code is data" idea.
(Which you usually don't want to do in an introductory course anyway.)

For a short (and, I found, very enlightening) peek at the HTDP curriculum,
you can skim through the Systematic Program Design course by Gregor
Kiczales on edX:

https://www.edx.org/xseries/how-code-systematic-program-design

This is by a wide margin the best introductory programming course I have
ever seen.

Re: ClojureBridge, the curriculum is on GitHub:

https://github.com/ClojureBridge/curriculum

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to