My biggest issue with SICP was the lack of available unit tests for the exercises. I'd often "get it wrong" and have no recourse but to read a solution to see that I'd failed to account for some aspect of the problem. Without an easily verifiable way to test your solutions as you go I think these kinds of books really do themselves a disservice as you lose the ability to struggle and think hard about the problem if y…
Beautiful Online SICP
61–70 of 82 posts
Re: Beautiful Online SICP
#62"Third Addendum: Things go in spirals. We explored the powers of Texinfo and LaTeX at typesetting the PDF book. Now it’s time to come back to HTML. This turn it shall be HTML5. “It can be a dangerous place, but it’s our last, best hope for peace.” (Sinclair, Babylon 5.)"
Re: Beautiful Online SICP
#63Re: Beautiful Online SICP
#64Earlier quoted context omitted.
Because so many of us learn imperative programming first, then find functional a big shift, I think we forget that everyone learns maths, which has no mutable state in the traditional maths classroom written style, and so functional actually resonates pretty well with people who have never touched programming at all, provided they've been exposed to enough maths.
The weakness to this approach is that learning the functional approach is all well and good but you can't learn this at the expense of learning what the machine does. Learning a traditional ALGOL like C exposes you to memory access, the stack pointer, and other such concepts. You're also a small hop away from assembly where you learn about RISC/CISC architectures, CPU caches, etc. I wish there was a book as popular a…
Re: Beautiful Online SICP
#65Sarabander's edition is definitely a huge credit to it's author: It isn't just a reprint of SICP; The text and it's font has been updated, many of the diagrams have been redone for clarity and the document and footnotes are hyperlinked. If it's your ambition to follow in the footsteps of others or otherwise just prefer the classic Lisp-haqr experience, you can use a TexInfo version of SICP and have both the text and…
> you can use a TexInfo version of SICP and have both the text and your REPL in Emacs Or have it all in your browser (every code block is a REPL; CTRL-Enter to run): https://xuanji.appspot.com/isicp
Re: Beautiful Online SICP
#66Earlier quoted context omitted.
Because so many of us learn imperative programming first, then find functional a big shift, I think we forget that everyone learns maths, which has no mutable state in the traditional maths classroom written style, and so functional actually resonates pretty well with people who have never touched programming at all, provided they've been exposed to enough maths.
The weakness to this approach is that learning the functional approach is all well and good but you can't learn this at the expense of learning what the machine does. Learning a traditional ALGOL like C exposes you to memory access, the stack pointer, and other such concepts. You're also a small hop away from assembly where you learn about RISC/CISC architectures, CPU caches, etc. I wish there was a book as popular a…
Re: Beautiful Online SICP
#67I've just skimmed through the first couple of pages, but didnt find anything about which lisp to use/howto. Any ideas?
Re: Beautiful Online SICP
#68Earlier quoted context omitted.
I guess racket is where the development continues for the scheme language. http://racket-lang.org/
There are a few: Gambit, Chicken-Scheme, Chez-Scheme, and Racket. Racket is starting to purposely diverge though like Pharo is to Smalltalk.
Re: Beautiful Online SICP
#69This is incredibly beautiful. I wish all technical writing online could be so well presented - I'm tired of trying to read two-column journal-formatted PDFs on my phone.