On Fri, 19 Jun 2015, Sven Schreiber wrote:
> I don't have a solution, but I'd like to contribute to
the discussion
> with a reflection. Everybody loves lists. They're so convenient.
> However, they have this feudal privilege (that no other gretl citizen
> has) of being somewhat exempt from the principle of strict localisation.
> This can be VERY troublesom, at times.
Yes you can come up with disturbing examples, but again, that's nothing
new.
I beg to differ. It is quite exceptional, since it violates the idea (that
we try to enforce in hansl as a general principle) that user-written
function must be very predictable in what they modify. This is precisely
why we never allowed global variables. This is precisely why I find the
example disturbing.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------