At 03:14 PM 8/15/00 -0700, Russ Allbery wrote:
> > All variables should be C<$x>. They should behave appropriately
> > according to their object types and methods.
>
>No thanks. I frequently use variables $foo, @foo, and %foo at the same
>time when they contain the same information in different formats. For
>example:
>
> $args = 'first second third';
> @args = split (' ', $args);
> my $i = 0;
> %args = map { $_ => ++$i } @args;
>
>This is very Perlish to me; the punctuation is part of the variable name
>and disambiguates nicely. I'd be very upset if this idiom went away.
What he said. Several things have occasionally struck me as standing
improvement in Perl; this has never been one of them. It's always been
very intuitive and easy to understand for me.
Methinks the language list is starting to hit the ozone layer.
--
Peter Scott
Pacific Systems Design Technologies
- Re: RFC 109 (v1) Less line noise - let's ge... John Porter
- Re: RFC 109 (v1) Less line noise - let'... John Porter
- Re: RFC 109 (v1) Less line noise - let's ge... Russ Allbery
- Re: RFC 109 (v1) Less line noise - let'... Andy Wardley
- Re: RFC 109 (v1) Less line noise - let's get rid of... Karl Glazebrook
- Re: RFC 109 (v1) Less line noise - let's get ri... Bryan C . Warnock
- Re: RFC 109 (v1) Less line noise - let's get ri... Jon Ericson
- Re: RFC 109 (v1) Less line noise - let's ge... Karl Glazebrook
- Re: RFC 109 (v1) Less line noise - let'... Jon Ericson
- Re: RFC 109 (v1) Less line noise - let's get rid of @% Russ Allbery
- Re: RFC 109 (v1) Less line noise - let's get rid of... Peter Scott
- Re: RFC 109 (v1) Less line noise - let's get rid of... Steve Fink
- Re: RFC 109 (v1) Less line noise - let's get ri... Russ Allbery
- Re: RFC 109 (v1) Less line noise - let's ge... Ted Ashton
- Re: RFC 109 (v1) Less line noise - let'... Dan Sugalski
- Re: RFC 109 (v1) Less line noise - let'... Steve Fink
- Re: RFC 109 (v1) Less line noise -... Ted Ashton
- Re: RFC 109 (v1) Less line noi... Steve Fink
- Re: RFC 109 (v1) Less line noi... Damien Neil
- Re: RFC 109 (v1) Less line noi... Steve Fink
- Re: RFC 109 (v1) Less line noi... Ted Ashton
