Re: Can we simplify "end"?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Personnaly it doesn't bother me to have to write the block type after end.
More I see it as as self documenting feature, when there is many level of block
even with indentation its easier to locate where each block ends this way as
sometimes the block may be more than one screen full of lines.

regards,
Jacques DeschĂȘnes



Bryan So wrote:
> 
> I think it is quite redundant to use different endings for
> 
>    end procedure
>    end function
>    end if
>    end while 
> 
> etc...
> 
> with proper indentation, which I am sure we all use, one
> 
>    end
> 
> should be enough to end a loop or condition or function, etc, 
> without any ambiguity.  
> 
> Bryan

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu