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

SICP

Name: Anonymous 2008-12-23 14:30

I'm now readin SICP.Its not a bad book at all.
Its notation however sucks:
(+ (* 3 (+ (* 2 4) (+ 3 5))) (+ (- 10 7) 6))
There is no way i could see which empty)( places contain which operators without reading entire string piece by piece.
This wouldn't work with larger strings.

Name: Anonymous 2008-12-24 5:42

>>40
I don't see why it wouldn't be. Each operator would introduce an opening paren before itself, and rather than the enter key a normal calculator has, there would be a close paren. When all parens were closed, the expression would be evaluated.

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