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

What's your favorite SICP passage?

Name: Anonymous 2013-09-07 16:55

I like 2.3.4, where it discusses Huffman encoding trees.
In general, we can attain significant savings if we use variable-length prefix codes that take advantage of the relative frequencies of the symbols in the messages to be encoded. One particular scheme for doing this is called the Huffman encoding method, after its discoverer, David Huffman. A Huffman code can be represented as a binary tree whose leaves are the symbols that are encoded. At each non-leaf node of the tree there is a set containing all the symbols in the leaves that lie below the node. In addition, each symbol at a leaf is assigned a weight (which is its relative frequency), and each non-leaf node contains a weight that is the sum of all the weights of the leaves lying below it. The weights are not used in the encoding or the decoding process. We will see below how they are used to help construct the tree.
It was hard to understand at first, but well worth it.

Name: Anonymous 2013-09-07 17:08

I like the part where Sussman and Abelson are arguing over iterative structures or recursive functions are better, and the Sussman wipes the floor with the Ableson with a formal proof that they are equivalently, therefore, since recursive functions are more intuitive, they are better.

I gained a lot of respect the the Sussman that day.

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