← Back to context

Comment by Zambyte

13 days ago

> Scheme is an island with text-based I/O (as far as the textbook is concerned).

See section 2.2.4: https://mitp-content-server.mit.edu/books/content/sectbyfn/b...

> there’s a preference for a programming course that’s more extroverted, that lets you build interesting things by including a program as one component of a larger system.

Black box abstraction is a huge theme throughout all of SICP.

Neat! I had forgotten about that. Not entirely text-based, then.

I went looking for what primitive drawing commands it was built on, and it’s barely mentioned:

> The details of how primitive painters are implemented depend on the particular characteristics of the graphics system and the type of image to be drawn. For instance, suppose we have a procedure draw-line that draws a line on the screen between two specified points. Then we can create painters for line drawings.

That’s a pretty typical avoidance of I/O. (Also, generating static pictures is rather different than reacting to input.)