develooper Front page | perl.perl5.porters | Postings from May 2006

Re: [PATCH] removing one-line for and while loops

Thread Previous
From:
Andy Lester
Date:
May 2, 2006 09:05
Subject:
Re: [PATCH] removing one-line for and while loops
Message ID:
CAF0962A-F873-4EB2-858E-C07E5DC760B7@petdance.com

>> I think I tend to find this kind of changes overkill, almost
>> to ugly. In my code, I usually put a lone ; on the next line.
>> Isn't this sufficient ?
>
> Isn't
>
>     t = s;
>     while (!isSPACE(*t))
> 	t++;
>
> semantically identical?

Yeah, it is.  I'll go through and overhaul so we get rid of those.   
That's a much better way to handle it.

xoa

--
Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance




Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About