develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [PATCH] Add a nextstate into empty blocks

Thread Previous | Thread Next
Sean M. Burke
August 19, 2001 21:01
Re: [PATCH] Add a nextstate into empty blocks
Message ID:
At 11:24 PM 2001-08-19 +0300, Ilmari Karonen wrote:
>Besides, "returns the value of the last expression" describes the
>current behavior only if you adopt a perversely convoluted definition of
>"last expression", [...]

I quite agree.
One can imagine objections to changing the current behavior (hopefully
objections something other than "current behavior is always right, by
definition"), but I'd be quite surprised if anyone anywhere could possibly
have written code that relies on the current behavior.  Except possibly by
accident -- but programs that work in spite of themselves are not what
should be guiding language design.

Sean M. Burke

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About