Proposal of a general do-while loop
Tristam MacDonald
swiftcoder at gmail.com
Tue Jul 17 11:50:37 PDT 2007
While we are at it, why not just this?
goto mid;
begin:
cc;
mid:
aa;
if (bb) goto begin;
Clear concise and simple, plus it is much closer to the actual machine logic, and so may imrpove performance as much as -1% ;)
BCS Wrote:
> Reply to Don,
>
> > Walter uses 'goto' more than any other programmer I've ever seen.
>
> I'd do this:
>
> goto mid;
> while(bb)
> {
> cc;
> mid:
> aa;
> }
>
>
More information about the Digitalmars-d
mailing list