Re: Another small V8.0 bug [message #71872 is a reply to message #71871] |
Tue, 27 July 2010 04:47   |
Juggernaut
Messages: 83 Registered: June 2008
|
Member |
|
|
On Jul 26, 2:15 pm, wlandsman <wlands...@gmail.com> wrote:
> On Jul 26, 1:59 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
>
>> Do you mean that this does not happen every time? To me this seems to
>> be the expected behavior. The line
>
>> print,list(0)
>
>> Is creating a list (which is an object), containing one element, and
>> printing it. The same with the use of help.
>
> OK, I did not know that list() was a new intrinsic function,
> thanks. But since "list" is my most used variable name, V8.0 is not
> backwards compatibile.
>
> On the other hand, since I was a strong supporter of abandoning
> support for indexing with round parentheses, I shouldn't complain too
> much. But I suspect that this will be a recurring backwards
> compatibilty problem.
>
> --Wayne
I would say that it would be good programming practice to have more
specific variable names in functions. List is a very generic
variable. What is it a list of? I guess I'm saying something like
nameList or addressList or latitudeList is a more descriptive variable
than simply list. Saying that...I may very well have the same
variable name somewhere but a good find and replace will do the trick.
|
|
|