Hacker News new | ask | show | jobs
by Divver 3042 days ago
My First CS class at Berkeley (CS61A) was the last semester (Fall 2010, my first semester of college) where it was taught it in Scheme.

After that they apparently switched the class to python.

My professor was Brian Harvey whose doctoral advisor at MIT was one of the authors of the SICP book we used for the class.

It was a good book. One of the few CS textbooks I actually read. Many CS books are pretty badly written imo.

But there are a few that I consider very well written. This book was one of them.

1 comments

As a side note,

Scheme and parenthesis hell when writing code on the midterms....

Also car caar cdr cddr etc etc (you can theoretically nest as deeply as needed)

hahaha that class...

> Scheme and parenthesis hell when writing code on the midterms....

Writing code on paper sucks in many (all?) languages. At least the ones I have tried. Python might actually have an advantage on that front, Haskell, too.

Yeah I agree with you.

But scheme especially when you have code like this:

(letrec ((even? (lambda (n) (if (zero? n) #t (odd? (- n 1))))) (odd? (lambda (n) (if (zero? n) #f (even? (- n 1)))))) (even? 88))

The level of nesting can get rediculous.

Writing that on a midterm is harder than Python or java.

I’d say Python is nicest when writing out code.