Paul van Tilburg wrote:
> On Sun, Sep 26, 2004 at 03:19:31AM +0900, Brian Schroeder wrote:
> 
>>On Sun, 26 Sep 2004 01:51:58 +0900, Paul van Tilburg wrote:
>>
>>>[...]
>>>
>>>| (10..15).each do |i| puts i end
>>>because it's common style to use { ... } for one-liners.
>>
>>I saw a style guide that proposed using { ... } for blocks without side
>>effects and do ... end for blocks with side effects. This conveys more
>>information and I really like and use it.
> 
> 
> Side effects as in: modifying other (instance, class, non-local) variables 
> instead of just returning anything?
> 

Yes. I use braces if I only use the values returned from the block, 
otherwise do end. So for example .each always goes with do ... end.

> 
>>If you start right now with devising exercises, I'd like to profit from
>>it, as I want to give a "real" ruby course beginning on the 4. Oktober. It
>>will be four four hour sessions and I need more exercises.
> 
> 
> OK. But I think our target group is different. Since I think our tutor
> can only give help to people knowing very little of progamming or OO
> programming.  In the other cases, our tutor could think it knows a
> better solution, while the student already found a (in his/her opinion)
> superior solution which the tutor doesn't agree with.

That is certainly true. But if you come along some good exercises on the 
  way to developing your system, I'd certainly like to hear of them.

> 
> 
>>If you want to see what I have devised so far (attention, i'm not yet
>>proud of it) see
>>http://ruby.brian-schroeder.de/course/
> 
> 
> You are not proud of it? You should be, it is very nice.

Thank you. I am proud of the layout ;), but the content is a bit weak 
and not really good structured. I'm struggling with the problem of how 
to introduce a language. 	
You can't give meaningfull examples, unless you know already big parts 
of the language. So I'm trying to solve this by calling the course 
"immersive" and hope that some things can be used before they are explained.
But certainly I will have to put a lot more work into it.

regards,

Brian

-- 
Brian Schröäer
http://ruby.brian-schroeder.de/