develooper Front page | perl.perl6.language | Postings from May 2001

Re: what I meant about hungarian notation

Thread Previous | Thread Next
From:
Graham Barr
Date:
May 14, 2001 13:02
Subject:
Re: what I meant about hungarian notation
Message ID:
20010514210135.Z22335@pobox.com
On Mon, May 14, 2001 at 03:58:31PM -0400, John Porter wrote:
> Graham Barr wrote:
> > As I said in another mail, consider
> >   $bar[$foo];
> >   $bar{$foo};
> 
> But if @bar is known to be one kind of array or
> the other, where is the ambiguosity that that is
> meant to avoid?

I did not say it was avoiding ambuguity, I said it helped
with readability when $foo held something like "1.2"

But I really think this thread is going no where.

Is there REALLY a benefit in changing things to use only []
or is this change for the sake of change.

And rememeber this is still perl, so why change something unless
it gains extra benefit.

Graham.

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