On Jun 17, 2005, at 9:03 AM, Ara.T.Howard wrote:
>>  do_something( )
>>  foo = bar
>>  while true
>>    do_something( )
>>  end
>>
>> which is not very DRY when do_something( ) is a large block of code.
>>
>
> sure it is - block being the key word here:

Er, we've wandered far from the original content - the above Ruby  
code was simply an illustration of the C++ code in question, because  
I can't be bothered to know how to write proper C++ syntax.

Yes, Ruby makes life far cooler than C++.