Re: Can we simplify "end"?
- Posted by CChris <christian.cuvier at agr?culture.gouv.fr> Aug 07, 2007
- 560 views
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