News for hackers. Stuff that matters.
Re:Learn to program Python using a Logo-like turtle by dpritchett on Thursday April 28, 2011 @05:44PM (#2495220)
I haven't finished SICP so I'm not sure which bit you're talking about, could you please point it out? http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-4.html#...

All IO is inherently impure, right? At best you're going to be composing funtions out of smaller functions that implement your graphics desires.

How can you get around having e.g. a circle(radius, x-pos, y-pos, line-color, fill-color) function that draws per your specifications? There's no reason you couldn't implement that circle function using turtle...

Re:Learn to program Python using a Logo-like turtle by hendzen on Thursday April 28, 2011 @09:21PM (#2495961)
All the exercises and code in Section 2.2.4