Re: Weighing in on everything
- Posted by CChris <christian.cuvier at ag?iculture.?ouv.fr> Apr 28, 2008
- 832 views
Matt Lewis wrote: > > CChris wrote: > > > > Matt Lewis wrote: <snipped, as obviously we have different sort of coding in mind> > > > > We talked about walking back up that chain, but therein madness lies, I > > > think. The metric would likely get very complex, and certainly confusing > > > to developers, who wonder why otherwise functioning libraries break for > > > strange reasons. > > > > You lost me there. > > This relates to overriding globals and namespaces, and if there are multiple > matching symbols at some level of inclusion below the namespaced file, > should we attempt to measure how far down each is, and then use the higher > in preference to the lower. This idea was dumped pretty quickly. > Oh, ok. The depth of a symbol up or down the tree shouldn't matter, because the shapes of the third party libs are not under the app coder's control. However, I can see quite a few cases where it would make sense to add symbols that come upstream, ie in the parent file or higher. CChris > Matt