13 ms·
Paul Graham on SICP (2000)
- taylodl 8y agoI first read SICP after 25 years of professional development, and while I didn't learn anything new I did see things in a whole new light. I think it would have been really useful to have read the book 25 years ago: I think you're going to benefit from having a few years of real-world development experience before reading this book. The profundity, impact and applicability to your work will be much greater. Highly recommended. This comment is for the Scheme-based book. I've never seen the Python-based version.
- armitron 8y agoThere is no Python-based version, Abelson and Sussman only produced one SICP based on Lisp. It is unfortunate that there are other courses by people not associated with Abelson and Sussman that have kept the same name but not the material. It is misleading to refer to these as "SICP" as they lack pretty much everything that made SICP great. SICP works on _multiple_ levels, it is not [just] a book about Lisp or a book about programming. It is this "emergent" quality that it has that makes it a masterpiece. Someone wrote that "Philosophy is any culture’s pole of maximum abstraction, or intrinsically experimental intelligence, expressing the liberation of cognitive capabilities from immediate practical application, and their testing against ‘ultimate’ problems at the horizon of understanding." In this sense, SICP is a supremely philosophical book.
- aidos 8y agoDo you need to have a solid foundation in lisp to understand it or is it approachable for experienced software developers in other domains?
- enitihas 8y agoYou don't need any foundation in lisp to understand it. The exercises may seem a little hard, but as long as you go through those, you will gain a lot.
- bambataa 8y agoNone at all. What's great about SICP is that it starts from pretty much first principles and builds everything gradually on top of them. Things like managing state etc are presented as a very natural progression.
- Turing_Machine 8y agoNot at all. It was written as an introductory text for freshman computer science students with no prior exposure to programming (much less a Lisp or Lisp-like language). Just keep in mind that the students in question were at MIT. :-) The book gets very deep (note some of the things that Paul Graham says in his review, and note who is saying those things). Be prepared to expend a lot of challenging brainwork to get through it, but nope, it doesn't rely on previous knowledge of Scheme. One of the many nice features of Scheme (and lispy languages in general) is there isn't a lot of syntax and so on to learn in the first place. (procedure argument1 argument2...argumentn) is pretty much it.
- merolish 8y agoEven at MIT a lot of people struggled with it because they threw so much at you so quickly, and it's since been replaced with a Python-based intro course.
- olavk 8y agoIt is definitely challenging and I'm not sure it is appropriate for beginners unless they are geniuses. But the challenging part is not learning Scheme (which is even simpler than Python if not quite as nice to read), the challenge is it works through a lot of computational topics (implementing an interpreter, lazy evaluation, an object system, a logic language, etc.) in a quite compact format.
- tdsamardzhiev 8y agoMIT EECS freshmen aren't exactly beginners. It's not the right book for 19-year-olds who want to learn programming. It's the book for 19-year-olds who have been programming since primary school. A complete beginner will struggle terribly, and s/he'd still miss most of what the book is really trying to teach. Lately, MIT has been investing heavily into obtaining a more cosmopolitan image, so ditching a course aims to scratch the itch of hardcore nerds -- while disappointing -- wasn't unexpected, I guess.
- deleted 8y ago[deleted]
- dreamcompiler 8y agoStudying SICP in Python is kind of like reading the Odyssey via Google Translate. You'll get the gist of it, but you won't feel the earth move. Python is a "Lisp lite" and the parts of Lisp that Python leaves out or cripples are incredibly important.
- armitron 8y agoMostly agree but: Lua is a Lisp-lite, Ruby maybe a Lisp-lite, Python? No way, I'd go as far as say that Python is antithetical to the Lisp philosophy and yes, I know Norvig has claimed something similar in the past. It's still inaccurate and wrong. In an interview, Norvig pretty much admitted that popular appeal is more important to him than the inherent superiority [which he of course acknowledges] of the philosophy behind Lisp.
- agumonkey 8y agoi you squint you'll see CLOS
- Gorgor 8y agoIn Python’s object system? How so?
- agumonkey 8y agoAccess to metaclasses. Whenever I watch a python metaclass talk I can't help but thinking 'welcome to CLOS guys'
- armitron 8y agoCLOS is metacircular, implemented in itself. Moreover, it decouples state (classes and instances) from protocol (generic functions and methods) and through the MOP allows you to reprogram every aspect of its behavior. Python's object system suffers from the same ailments that Python itself does. It's an amalgamation of various hacks, some obviously inspired by Common Lisp [1], others made up on the spot in order to make everything "fit" together. In order to best see this, browse CPython's source and find how metaclasses are implemented. Then imagine what you would have to do if you wanted to radically change Python's object system. Contrast with the Common Lisp MOP. [1] Here is Guido talking about Python's metaobject protocol. Taking into account everything it lacks and how it's implemented, it's not really a metaobject protocol in the CLOS sense, but it's enlightening to read GvR's description of his "aha!" moments in the slides -- which he came upon when he read "The Art of the Metaobject Protocol" -- and then realize that he simply picked very few of the ideas from it whilst completely missing the essence: http://laser.inf.ethz.ch/2012/slides/vanRossum/laser-mop.pdf http://laser.inf.ethz.ch/2012/slides/vanRossum/laser-mop.pdf So yes, Python has metaclasses but metaclasses are only ~5% of what makes CLOS (and AMOP) iconoclastic. For the rest, read "The Art of the Metaobject Protocol" [2]. This should convince you that Python is really nothing like Lisp and the philosophy of metaprogramming that Lisp espouses is dumbed down and made pretty much powerless (in a similar way, interactive programming) in Python. [2] https://en.wikipedia.org/wiki/The_Art_of_the_Metaobject_Protocol https://en.wikipedia.org/wiki/The_Art_of_the_Metaobject_Prot...
- nickjj 8y agoThis is exactly what I did too, but after 12ish years of experience. I watched the original lectures on Youtube while working through the book. Really enlightening experience. I was hooked by the cover art of the book and after a few minutes of watching the lecture where he explained a procedure as a pattern of rules and compared them to spells. That's a really profound way of not only thinking, but teaching too because you have to remember those people in the class are new to computer programming. That's such a good analogy on so many levels.
- billsix 8y ago> I first read SICP after 25 years of professional development, and while I didn't learn anything new I did see things in a whole new light. How is possible that you read the whole book and didn't learn anything new?
- Jtsummers 8y agoI am not OP, but my take. A text like this may not introduce the reader to any new-to-them CS content. Instead, especially if they have a good bit of experience behind them, it reorganizes their thinking. Which can be just as valuable.
- bad_user 8y agoI've read SICP and not only did I not learn anything new, I did not see anything in a new light either. Yes, the book is entertaining. But there's more profound enlightenment to be had however when working with actual functional programming for a few years in a supporting language and afterwards nothing in SICP is new. However I wish I would have read this book when I was an undergrad.
- divs1210 8y agoIt refactors your thought process.
- coldtea 8y ago>How is possible that you read the whole book and didn't learn anything new? For one, it's not a book on anything state of the art. It describes very well known concepts and techniques. It's more of an introduction to programming and functional concepts and such than something where someone with 25 years of experience or a CS degree will learn much new from.
- kamaal 8y ago>>This comment is for the Scheme-based book. I've never seen the Python-based version. Recursion is heavily emphasized. And Python doesn't support tail-call optimization.
- mcguire 8y ago"al" is the brother of e.e. cummins. He's incredibly prolific.
- bdcs 8y agoHmm, I'm out of the loop. Is pg referring to et. al.? As in `and others` (et alia/alii/aliae)?
- stan_rogers 8y agoYes. Exactly that. In a short (bibliography or card catalogue) listing, SICP would have been by Abelson et al.
- rhaps0dy 8y agoI did get that, but why is asking the undergrads "who is al" a joke?
- bookofjoe 8y agocummings
- curiouslurker 8y agoHagiography at its finest! But, a, cool, review!
- enitihas 8y agoAnd there should be a Peter Norvig review too for SICP, just in the vicinity of PG's. Link: https://www.amazon.com/review/R403HR4VL71K8/ref=cm_cr_rdp_perm https://www.amazon.com/review/R403HR4VL71K8/ref=cm_cr_rdp_pe...
- forapurpose 8y agoNote that Norvig's and Graham's reviews are 12 days apart in the year 2000. Also, (2000) should be added to the title.
- gxs 8y agoI've always found this especially amusing - there are so many different ways you can interpret this.
- guiambros 8y agoAnd just to stay meta, here's Peter Norvig's review on pg's "On Lisp" [1]. [1] https://www.amazon.com/gp/review/RRFAH7G81ASUL?ref=pf_vv_at_pdctrvw_srp https://www.amazon.com/gp/review/RRFAH7G81ASUL?ref=pf_vv_at_...
- fipple 8y agoIt’s also cute that it has phi-thousand upvotes.
- pixelmonkey 8y agoWas glad to see this posted here, especially since in late August, I'll be taking the one-week SICP course that David Beazley in the Python community put together: https://www.dabeaz.com/sicp.html https://www.dabeaz.com/sicp.html
- tlrobinson 8y agoGiven there's so much free material on SICP out there, paying $2500 to learn SICP feels a bit like paying a personal trainer to force yourself to work out (which I've admittedly done before)
- pixelmonkey 8y agoIt indeed feels exactly like that, yes. And, obviously, you've never taken a Beazley course before. :-)
- bogomipz 8y ago>"And, obviously, you've never taken a Beazley course before. " Could you elaborate on this point? I am not familiar with this individual or their classes. Is there something special?
- pixelmonkey 8y agoYou can see some of David Beazley's presentations on YouTube. He presents regularly at PyCon and other conferences. He's also the author of Python Essential Reference and the editor of Python Cookbook, 3rd Edition. One of my favorite presentations of his that gives a flavor of his instruction style is "Python Concurrency from the Ground Up" at PyCon 2015: https://www.youtube.com/watch?v=MCs5OvhV9S4 https://www.youtube.com/watch?v=MCs5OvhV9S4 I saw this one live, but I think the recording is good quality. He live codes a Python 3 highly concurrent, generator-based TCP server that does fibonacci calculations, if I recall correctly. One of the YouTube comments gets it right, it's "The Jimi Hendrix of Python". The prior course I took with him was called "Writing a Compiler (in Python)". I think I took it the first time it was offered, in 2012. In that course, we implemented a programming language that was a (very small) subset of GoLang, by building the entire parser/compiler in Python. So, in 5 days, you learned all about compiler theory, and wrote your own compiler (in Python) for this GoLang-style language. The last day, we peeled away the layers of the onion for how PyPy is implemented under the hood, using our newfound compiler toolchain knowledge. It was really fun. He has a very engaging presentation style and a fascination with computing that is infectious. You leave the course energized and happy to be a programmer.
- shuaib 8y agoI am going through SICP currently, after having it on my reading list for long. Loving it so far. I agree that exercises in the book shouldn't be skipped, not a single one. You might seem to have grasped the material until you take up the exercises and realise there is more to it.
- merolish 8y agoIt's available online for free from the publisher: https://mitpress.mit.edu/sites/default/files/sicp/index.html https://mitpress.mit.edu/sites/default/files/sicp/index.html (I wish I'd kept my Knight of the Lambda Calculus button. Even having had prior programming experience, 6.001 was not pleasant.)
- cellularmitosis 8y agoImpositioned into printable booklets, if that’s your thing :) https://github.com/pepaslabs/SICPChapterBooklets/releases https://github.com/pepaslabs/SICPChapterBooklets/releases
- chasote 8y agoI also like this free HTML5 (and EPUB3) version as well. It just feels really clean. https://github.com/sarabander/sicp https://github.com/sarabander/sicp http://sarabander.github.io/sicp/html/index.xhtml http://sarabander.github.io/sicp/html/index.xhtml
- brennebeck 8y agoAgreed. Really nice work done on this.
- stevelosh 8y agoIf you tried reading SICP in the past but it didn't quite click, you might want to try watching the lectures as you read it: https://www.youtube.com/playlist?list=PLB63C06FAF154F047 https://www.youtube.com/playlist?list=PLB63C06FAF154F047
- deleted 8y ago[deleted]
- ZephyrP 8y agoThe lectures are good but I think the book is really unparalleled in it's original format. It stresses building the intuitive sense of deep structure, which I think other formats would have difficulty communicating. I personally thought the biggest barrier was the mundane, so I tried to write up some tips, test cases and helpful utilities for doing SICP ( https://github.com/zv/SICP-guile https://github.com/zv/SICP-guile ).
- tombert 8y agoSICP has a well deserved spot in the "basically a bible for engineers" category. I remember hearing about from a podcast in 2012 (I can't remember which one, sadly), and immediately fell in love with the free copy from MIT's website. I was pretty excited when I found a physical copy at a thrift store for two dollars. Even though I had already read it, I like having it on my shelf to prominently display. It's not a trivial read, but I feel like it's complicated enough to make you think, but not frustrate.
- barbegal 8y agoI can't understand why "694 people found this helpful". It's not a very good review or even a review at all. The only review-like part of it is "I still don't feel I have learned everything the book has to teach." which is very cryptic. Why doesn't Paul Graham feel like he has learned everything from the book? Is it because the book has a huge amount to teach and it isn't possible to consume it all in a short period of time or is it because the lessons are poorly taught and therefore require careful re-reading or is it because the book can be read at many different levels?
- clevershot 8y agoI have the feeling anything PG says these days is applauded w/o proper reflection. Maybe it’s just me, but I have the feeling most of his thoughts are quite profane
- mehrdadn 8y agoI haven't read anything close to 50% of his thoughts to know if most of them are quite profane, but the few other pieces I've read have indeed seemed quite insightful.
- zabzonk 8y ago"profound", not "profane, surely?
- 3rdAccount 8y agoYea, I've read several of his essays (certainly not close to all of them) and didn't find any profane.
- clevershot 8y agoThat’s because you’re suceptible to startup folklore
- 8y ago
- circles_for-day 8y agoCirclejerk circlejerk circlejerk
- deleted 8y ago[deleted]
- kingbirdy 8y ago> Let's see if we can put this in terms that the undergrads will understand -- a problem set It would be more accurate to say "in terms that MIT/Stanford/Ivy undergrads will understand", considering most universities just call it "homework". Since that's the background Paul and many of his colleagues come from, it's understandable. However, as a CS undergrad at a more run-of-the-mill university, it's a bit discouraging to see this vocabulary so widespread at the top levels of the industry - it makes it seem almost impossible to break in when everyone else is a part of the "elite" that you're not in. At the end of the day, I realize this is a totally trivial issue. Just curious if any other folks out there have noticed this.
- salusinarduis 8y agoI went to a state university in a flyover state and they used the term problem set. It is more widespread than you think.
- toomanybeersies 8y agoI didn't go to an Ivy League university, or even a university in the USA, but I still understood what a problem set is. I've been out of university too long to know what they called homework (plus I never did it, hence my B- average), but problem set sounds about right.
- deleted 8y ago[deleted]
- arkades 8y agoI went to what was basically a community college for my undergrad degree. Engineering/physics/chem departments called it problem sets.
- nikofeyn 8y agoi certainly agree there is plenty of systematic elitism out there in the world, but i don't think problem set vs. homework plays a part. haha.
- mlevental 8y agolol what are you talking about. what a thing to interpret as a "micro-aggression" or indicator of "class-divide". Google the term problem set and you'll see plenty of schools that aren't ivies.
- deleted 8y ago[deleted]
- euske 8y agoThis book gives you a coherent view of computation. It's not just a turing machine that keeps munching instructions. I think this book takes a more dataflow-centric approach. Some people would love it, and I agree this is a good introduction for early CS students. It is focused and compact. That said, I think the enthusiasm surrounding this book is a little bit cult-like. Reading this book doesn't necessarily make you a good programmer, because being a good programmer requires much, much more than having a good understanding of computation. And when you disregard the practical aspect of programming, people will probably find you a bit pedantic.
- TeMPOraL 8y ago> That said, I think the enthusiasm surrounding this book is a little bit cult-like. Reading this book doesn't necessarily make you a good programmer, because being a good programmer requires much, much more than having a good understanding of computation. The usual assertion is that it makes you a better programmer, not that it makes you a good one. The reasoning behind this is that the book is pretty unique in giving you practical fundamentals of programming, in a way you wouldn't be exposed to completely elsewhere (especially if all you've learned so far is modern OOP). I'd say it's important today more than ever, given the increasing amount of programmers emerging out of bootcamps.
- tlrobinson 8y ago> Reading this book doesn't necessarily make you a good programmer I don't think I've seen anyone claim SICP will make you a "good" programmer. I have seem people claim it will make a good programmer better, though.
- olavk 8y agoI you have finished SICP (including exercises) I will posit you must be a pretty decent programmer. (Which is not necessarily the same as a good developer, but that is a different discussion.)
- braythwayt 8y ago
- blackrock 8y agoI wish they rewrote this using Python code. Maybe someone can take up the mantle on that.
- nikofeyn 8y agowhy? and just to clarify my why, it really bothers me that people who do python tend to only want to do python, as if it's some advanced, modern language and the only choice for doing code if you don't like c# or java or c++. it's well over two decades old, which isn't a problem in and of itself, but python ignored and has continued to ignore better programming language designs both before and after it was created. how about you learn something new, and just use a lisp or scheme, just as the course and book does, like racket? and if one doesn't want to use a lisp or scheme, then an ml language like sml, f#, or ocaml would be the next best choice. python is a scripting language. it should have stayed that way, but instead, it's used to build large systems and to teach programming to people. it's a real shame. and to conclude, the entire point of SICP is that you don't need much of a language. all you need is a small collection of fundamental ideas in your language. and as it turns out, python does not even have those.
- blackrock 8y agoThen rewrite it in Elixir.
- TeMPOraL 8y agoThis sentiment I do not understand. Scheme, especially the subset used in SICP, is about the simplest language you can have in programming. It was meant to be understood by freshmen with no prior exposure to programming (while incidentally being a more expressive language than mainstream ones, including Python). Is it so hard to spend the couple of minutes it takes for a person who's already a programmer on understanding the language used in this book? Is it so appalling to read a syntax more consistent than you're used to? Way to miss the point of the book. But a surprisingly common one.
- armitron 8y agoIt would not have the same power. There are many ideas in SICP that trigger breakthrough moments (metacircular evaluator, church encoding, code is data / data is code, tower of interpreters, emergence through abstraction) that would easily be seen as gimmicks in Python, because they transcend the hastily-put-together nature of Python. In other words, Python was designed by ordinary people, people who in many cases went out of their way to limit what thoughts the language can help you think (mostly in the interest of popular appeal). Lisp was discovered and evolved by geniuses.
- deepaksurti 8y ago>> Yet SICP, which is pretty much the bible of our world, has only three? pg posted his review on May 20, 2000, when it had 3 stars. From then till today, the book has 4.5 stars. What must have caused this change of opinion?
- rhaps0dy 8y agoMaybe Paul Graham and Ycombinator getting famous. Or the MIT CS undergrad "intro to CS" switching to Python so the disgruntled undergrads no longer give 1-star reviews.
- olavk 8y agoWell he suggest himself it is due to annoyed students. Since apparently the book is not used as much in introductory classes anymore, less people are forced to read it before they are ready.
- Marazan 8y agoI still hold that part 1 (building abstractions with procedures) of SICP is not that good from a teaching perspective. The continual reliance on more and more obtuse mathematical formulae for the programming examples is sub-obtimal for engaging or informing a reader who does not have a strong mathematical background. This is made even clearer in part 2 (building abstractions with data) which is an absolute masterclass in clear effective teaching. Part 2 is everything part 1 is not. It is approachable, immediate, ...tactile in its examples. I've always wondered if the two section were written by the different authors.
- dajomu 8y agoI have a copy of SICP sitting on my shelf right now. I've really wanted to get started on it, but I must say that it seems like the kind of book that would take hundreds of hours to get through (with all the exercises, etc). Is that true? Roughly how long have people taken to get through it?
- olavk 8y agoI worked through the book in my spare time some years ago, and yes it probably took me hundreds of hours. I don't know the exact amount of time, but it was definitely in that range. I did not have any CS or math background, but a lot of practical programming experience. I was absolutely worth it. I did not watch any of the lectures, just worked through the book, so I can't say if watching the lectures will make it easier or just take more time.
- dajomu 8y agoThanks, good to know how much time I need to apportion. I'm trying to find a way that I can fit it around work/family schedules and not let my concentration go too stale. I'm thinking of trying for an hour a day, but that feels so prescriptive...
- olavk 8y agoThe only advice I can give is, do not set goals like a chapter a week or n exercises a day. Sometimes a section or exercise is just hard and you have to take the time necessary.
- Jach 8y agoThis might be considered heresy but the first two chapters can go very quickly, and taken alone can be very impacting, so I'd recommend just them as an initial goal. Once you accomplish it (sooner than you might think!) you ought to use the momentum to continue on, just know it's a steep book for the last few chapters... A quote I keep in mind: "The reader who has read the book but cannot do the exercises has learned nothing." -- J.J. Sakurai I'm not quite as strict as Sakurai suggests -- sometimes it's helpful for me to plow ahead anyway and try to come back to the exercises later... Sometimes it's never, but if I do some exercises, integrate some of the non-exercises with other bits of knowledge, I still feel like I've learned something rather than nothing. "Gotten familiar with" might be the best phrase, and there's a nice technique Mike Acton made an infographic of for getting familiar with a stack of books on short notice: https://itsyourturnblog.com/you-cant-cheat-at-learning-quickly-getting-familiar-with-reading-material-e0a6519cac4c https://itsyourturnblog.com/you-cant-cheat-at-learning-quick...
- submeta 8y agoI came to SICP from a totally different path. In 1996 I started programming Scheme and developed my own library for matrix calculus and for symbolic calculus. A few months later I had a copy of SICP in my hands. All the things I did previously on my own now were dealt with in a more systematic and profound way. - Many concepts that I learned from that book became important twenty years later in modern programming languages. Closures, immutability, higher order functions, functions returning functions, etc SICP was a very profound experience. I still have that copy on my book shelf.
- b3b0p 8y agoI read all these comments around the internet stating "you" read SICP. Does that mean you worked all the problems? I'm currently reading through SICP (after a CS degree and 12 professional years experience if that really means anything) and it takes a long time, a lot of work, and it is hard. Reading these comments I feel like an idiot. When you say you read it did you do all and I mean ALL the problems? I find the reading part and thinking I understand well the content to be quite easy and comprehendible though. I love it for that and I feel like I am getting a great deal out of it.
- threatofrain 8y agoWhat collection of books or topics would be a suitable replacement for the CS fundamentals most discussed by SICP? When I hear people praise this book, it's often in somewhat vague terms.