Re: Can we simplify "end"?

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

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

Definitely.
How many times have I changed a for loop to a while loop or back, procedure to
function or back, and forgotten to change that end marker? It makes for more
visual clutter, not clearer code.

Bach simply gets it right with its "with block ..." directives.

CChris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu