Aaron Brethorst

Round peg in a square hole, rabid generalist.

Infinite Streams

| Comments

I’ve been thinking a lot about infinite streams lately. I haven’t spent any time whatsoever on this concept since I was a freshman in college taking Structure of Computer Programs 1, aka Scheme 101, aka the badass Comp Sci weeder course from hell.

Computer Science 1901, Structure of Computer Programs 1, was hardcore. There’s no better way to describe it. 200 freshmen came in thinking they were the shit; maybe 100 – tops – came out a little more humbled. It took me six weeks of the semester before I really grokked Scheme. I’d programmed in C for a quarter, but nothing can really prepare you for functional programming.

As Edward Norton once put it, at first “your ass was a wad of cookie dough. After a few weeks, you were carved out of wood.”

Comments