develooper Front page | perl.perl6.language | Postings from September 2006

Re: Nested statement modifiers.

Thread Previous | Thread Next
From:
merlyn
Date:
September 2, 2006 07:47
Subject:
Re: Nested statement modifiers.
Message ID:
86pseeba09.fsf@blue.stonehenge.com
>>>>> "Paul" == Paul Seamons <parrot@seamons.com> writes:

Paul> I don't know what the reasoning was back then and it may be the same today.  

From my early conversations with Larry, I recall that the reason is that
RSTS/E BASIC-PLUS had nested trailing modifiers, and both Larry and I saw many
abuses of these over the years.  Therefore, he decided not to repeat that
abomination, limiting it to precisely one level deep.  I'm happy for that.

Yeah, every once in a while, I've wanted the second layer, but I'm willing to
rewrite the statement as a true normal if/while instead of a backwards
if/while, and it *does* help the overall readability.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Thread Previous | Thread Next


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