[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #36658] syntax change for initialization of gl
From: |
Michael Godfrey |
Subject: |
[Octave-bug-tracker] [bug #36658] syntax change for initialization of global/persistent variables |
Date: |
Tue, 03 Jul 2012 02:56:34 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1 |
Follow-up Comment #19, bug #36658 (project octave):
This issue could be, actually already has been, discussed
for many years. I very much doubt if there is anything
like a "good" solution, or even one that is in practice
much different from Octave as it is.
Any form of initiaization of global data is error prone.
While Rik's proposal has good features it seems to me that
it would end up, after lots of upset, to be subject to
the same problems as the present.
The worst feature of all this is that it tends to catch the
people who are quite expert and careful: just one forgetful
or forgotten line will do it.
So, unless we want unconditionally to issue a warning on any
global intialization saying something like "do you REALLY
want to do something this risky", we should just leave it
as it is.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36658>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #36658] syntax change for initialization of global/persistent variables, (continued)
- [Octave-bug-tracker] [bug #36658] syntax change for initialization of global/persistent variables, Rik, 2012/07/02
- [Octave-bug-tracker] [bug #36658] syntax change for initialization of global/persistent variables, John W. Eaton, 2012/07/02
- [Octave-bug-tracker] [bug #36658] syntax change for initialization of global/persistent variables, John W. Eaton, 2012/07/02
- [Octave-bug-tracker] [bug #36658] syntax change for initialization of global/persistent variables, Torok Levente, 2012/07/02
- [Octave-bug-tracker] [bug #36658] syntax change for initialization of global/persistent variables, John W. Eaton, 2012/07/02
- [Octave-bug-tracker] [bug #36658] syntax change for initialization of global/persistent variables, Torok Levente, 2012/07/02
- [Octave-bug-tracker] [bug #36658] syntax change for initialization of global/persistent variables, Rik, 2012/07/02
- [Octave-bug-tracker] [bug #36658] syntax change for initialization of global/persistent variables, John W. Eaton, 2012/07/02
- [Octave-bug-tracker] [bug #36658] syntax change for initialization of global/persistent variables, Rik, 2012/07/02
- [Octave-bug-tracker] [bug #36658] syntax change for initialization of global/persistent variables, John W. Eaton, 2012/07/02
- [Octave-bug-tracker] [bug #36658] syntax change for initialization of global/persistent variables,
Michael Godfrey <=