I am working on my language again after a long haitus and have a question for 
the group in regards to readability of my iterator functionality. Currently, 
I am looking at 3 different forms:

1.
"hello".each() 
        { |x|
                print (x)
        }

2. 
"hello".each()
        begin
                print (x)
        end

3.
"hello".each()
        |x|
                print(x)
        end

I am rather fond of number 3, but am uncertain as to which is the most 
readable for maintainers and intuitive for the developer. 

Any thoughts?
        

-- 
Glen Starchman
Chairman & CEO
The Enabled Technology Group,LLC
m: 206.234.7330
p: [EMAIL PROTECTED]

Reply via email to