Today's summary and next assignment

5 views
Skip to first unread message

Renzo Borgatti

unread,
Jan 10, 2013, 12:52:42 PM1/10/13
to sic...@googlegroups.com
Hello all,

we had a great time today discussing, among other things, the following:

- is java var hiding similar to parameter re-binding of free variables?
- What is the effect of the binding keyword in Clojure. Why using binding is bad?
- how tail recursion is used in Scala to guarantee iterative processing
- To solve 1.10 is worth expanding the computation steps.
- 1.10 as an example of a non-linear process mixing iterative/recursive processing
- Examples of never resolving recursions
- No tail recursion in Java! What does it mean?
- Clojure recur is a macro to make iterative a tail recursion. Is that expanded into a loop underneath? Or What?

Bonus points if you answer the open questions in the list! :)

Next assignment:
- par 1.2.2 including exercises 1.11, 1.12, 1.13

Hope to see you all next time.
Renzo

Rob Shield

unread,
Jan 18, 2013, 4:53:57 AM1/18/13
to Renzo Borgatti, sic...@googlegroups.com
Hi all

I missed yesterday's session on 1.2.2 because I had a day off. How did it go? Had anyone done the exercises?   I had had a pop at the first two exercises.  I found the iterative solution to the first question quite  tricky and I'm still not sure I've got it.  The pascal numbers I'd seen before. All my implementations are in Scala.

Rob

Renzo

--
 
 

Anthony Green

unread,
Jan 19, 2013, 5:01:17 AM1/19/13
to sic...@googlegroups.com
Rob Shield wrote:
> I missed yesterday's session on 1.2.2 because I had a day off. How did
> it go? Had anyone done the exercises? I had had a pop at the first two
> exercises. I found the iterative solution to the first question quite
> tricky and I'm still not sure I've got it. The pascal numbers I'd seen
> before. All my implementations are in Scala.

Renzo was away so it didn't go ahead.

I also struggled with the iterative exercise and 1.13 I couldn't even
understand.

I think as the exercises get more complex it might be worth devoting
some time just to go over them.

--

Anthony Green
Media Playout
BBC Future Media

Renzo Borgatti

unread,
Jan 21, 2013, 3:53:28 AM1/21/13
to sic...@googlegroups.com
Hey Rob and all,

apologies for last Thursday. I was sick last week and went offline for a couple of days. Let's commit again with the same assignment for the next Thursday, Jan 24th. Will send out another reminder the day before.

Cheers
Renzo
Reply all
Reply to author
Forward
0 new messages