[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39441] SQP return variable 'info' conflicts w
From: |
Jordi Gutiérrez Hermoso |
Subject: |
[Octave-bug-tracker] [bug #39441] SQP return variable 'info' conflicts with info(). |
Date: |
Tue, 09 Jul 2013 13:33:55 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130109 Firefox/10.0.12 |
Update of bug #39441 (project octave):
Status: None => Invalid
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
I really don't think this is a bug nor that anything should be done about it.
Namespace collisions are something of a conscious design decision of the
Matlab language. I think it's the stupidest thing of the language, but it's
built-in. We have to mimic them in Octave.
The most common namespace collision is for the i or j variables, which by
default are built-in functions. Do you really want to get a warning every time
you do for i = 1:10? Do you also want us to change the documentation and track
down every instance of where we used i or j for variables in the documentation
and we didn't mean the built-in functions?
When your code started spewing Octave documentation, I suppose you would have
preferred it to error out saying undefined variable?
I am tentatively closing this bug report as invalid. If you disagree, we may
reopen it.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39441>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/