Re: Global = root of all evil
- Posted by Derek Parnell <ddparnell at bigpond.com> Nov 04, 2006
- 566 views
Pete Lomax wrote: > PS eg fr:f(fr:x(),y(),fr:z()) should flag the y() missing namespace, > obviously in real code that missing 'fr:' could be real hard to spot > and/or lead to a very subtle and very hard to reproduce bug. If we had the situation where every name collision had to be disambiguated using namespace ids, and if one wanted to refer to a 'y()' routine that was local to the current file, how would one indicate that? I mean, is it possible that the current file can have a predefined namespace identifier ... ? fr:f( fr:x(), this:y(), fr:z() ) -- Derek Parnell Melbourne, Australia Skype name: derek.j.parnell