Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I disagree with this pretty strongly, actually. The best skill you can get from SICP-level exercises is looking at the code and being completely confident that you understand it and that it is correct. The best way to use them is to write the code without running it, and once you are sure, review it with someone else to find out if you were right.

This breaks down a bit around chapters four and five where you are plugging in parts of a larger code base, and the accidental complexity starts to dominate.



Reviewing with someone else can be a challenge for self-study; that's the step a test suite would replace.

Of course someone could use the test suite to just make changes semi-randomly until it works, but there's no reason it has to be used that way.


Self-study students can find someone online to study together.

I like the amount of projects SICP inspires. That's one of the best things about it. I wouldn't want to discourage writing a test suite, but I wouldn't suggest studying it by using one.

SICP questions are designed to have elegant solutions, which may be missed, this is one reason why a study group is better than a test suite.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: