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 2:53

>>6
FURTHER OPTIMIZATION:
function abs(x){return (x > 0) ? x : -x}

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