octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text extent implemented (partially)


From: John W. Eaton
Subject: Re: Text extent implemented (partially)
Date: Fri, 12 Mar 2010 11:05:16 -0500

On 10-Mar-2010, Jaroslav Hajek wrote:

| I'm not much in favor in "fixing" these pedantic warnings. Shadowing a
| class member in a method where it is not needed is perfectly
| legitimate IMHO.

I am in favor of avoiding shadow warnings because it can lead to
confusion to have local variables with the same names as class
members.  It can be easy to overlook the local declaration and think
the variable refers to the class member.  I think it is better to just
avoid the potential confusion.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]