Re: Euphoria Standard Library on UBoard
- Posted by Jason Gade <jaygade at yahoo.com> Jul 30, 2005
- 569 views
Robert Craig wrote: <snip> > You and Matt seem to be talking about the same problem and same > proposed solution. As you might recall, I was initially enthusiastic > about the solution, but later when it came time to actually implement > it, I realized that there were a couple of negative aspects that I hadn't > really thought of when it was first discussed, so I put it aside. > > On January 31, 2005 I wrote: > > > > 1. The change was going to add complexity and subtlety to > > namespace rules that many people already had trouble > > remembering. > > > > 2. After porting thousands of lines of C code to Euphoria > > (i.e. the front-end), I had a couple of nasty cases where I > > accidentally declared a global variable in two different files. > > No error message was given, yet I was updating two different > > variables, not one. It took a while to figure out what was > > happening. Since the proposed change to the namespace rules > > would increase the chances of this sort of bug going > > undetected, I considered that to be a negative thing, > > that would partially offset the positive effect of fewer > > spurious error reports. The interpreter or translator could issue a warning... > > For the time being, I'd like to leave the namespace issue on the back burner, > until we gather more information from people reporting actual, real-life > (as opposed to imagined or theoretical) namespace problems. Maybe later > we can take another stab at it. > > For some reason this feature has generated far more discussion than > it deserves, given the small percentage of users who actually > encounter symbol conflict problems. > > Before implementing this feature, there was a full discussion > on this list of how it should work. I believe Derek, Matt, Irv > and many others were involved. I proceeded under the assumption > that, while they may have preferred other designs, they did not > see any obvious defects in this design. > > Regards, > Rob Craig > Rapid Deployment Software > <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a> > ===================================== Too many freaks, not enough circuses. j.