From: Jim Pryor Date: Mon, 22 Nov 2010 14:32:13 +0000 (-0500) Subject: go back and read week1 X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=commitdiff_plain;h=b170a8d840d307df1ca1962153ead28200ac5818 go back and read week1 Signed-off-by: Jim Pryor --- diff --git a/week9.mdwn b/week9.mdwn index dac311cb..d659e750 100644 --- a/week9.mdwn +++ b/week9.mdwn @@ -730,6 +730,11 @@ Programming languages tend to provide a bunch of mutation-related capabilities a We use the `None`/`Some factorial` option type here just as a way to ensure that the contents of `fact_cell` are of the same type both at the start and the end of the block. +* Now would be a good time to go back and review some material from [[week1]], and seeing how much we've learned. There's discussion back then of declarative or functional languages versus languages using imperatival features, like mutation. Mutation is distinguished from shadowing. There's discussion of sequencing, and of what we mean by saying "order matters." + +In point 7 of the Rosetta Stone discussion, the contrast between call-by-name and call-by-value evaluation order appears (though we don't yet call it that). We'll be discussing that more in coming weeks. In the [[damn]] example, continuations and other kinds of side-effects (namely, printing) make an appearance. These too will be center-stage in coming weeks. + + ##Offsite Reading##