____________________
Racket Users list:
http://lists.racket-lang.org/users
I recently starting reading HtDP/2e to evaluate the approach to teaching programming. My motivation, in part, stems from the recent Computer Science Education Week last December, where many were given the opportunity to experience one hour of programming.I'm interested in reviewing different teaching approaches and processes
(define (place-image-bottom img x y canvas)
(place-image img x (img-center-pos img y) canvas))
(define (img-center-pos img vert-pos) (- vert-pos (/ (image-height img) 2)))
(define (create-rocket-scene.v3 ht)
(if (<= ht 100) (place-image-bottom rocket 50 ht (empty-scene 100 100))
(place-image-bottom rocket 50 100 (empty-scene 100 100))))
In any case, it would seem easier for me to motivate this abstraction to new students.