R
Randy Webb
VK said the following on 1/10/2006 2:50 PM:
Then don't. If you are using a library in a page/site then it is your
obligation, as the programmer, to ensure that you do not have name
clashes. And then, you only need a list of the ones in the Libraries you
are using.
A "Global List of Global Names in Libraries" would be completely and
utterly useless though. What need do I have for a list of names that may
or may not be in Libraries that I may or may not use? None.
Even taking just Matt Kruse's Libraries, if you made a list of all of
the Global Names it uses, and then use just one of the Libraries, then
the list is useless and irrelevant.
I don't understand Latin so I am not sure what you just said to me.
And if you use one of those Libraries, then you would need a list of
variables in *that library only*.
In your opinion, maybe. That doesn't make it so.
And you propose to save them from that? Good luck.
Just the sheer number of possibilities makes that impossible to do. But
you can start it off. When you get the first 10 million, or so, global
variable names that are about on the web, you can post a URL to your
list here.
Because you cannot count on everyone else.
Then don't. If you are using a library in a page/site then it is your
obligation, as the programmer, to ensure that you do not have name
clashes. And then, you only need a list of the ones in the Libraries you
are using.
A "Global List of Global Names in Libraries" would be completely and
utterly useless though. What need do I have for a list of names that may
or may not be in Libraries that I may or may not use? None.
Even taking just Matt Kruse's Libraries, if you made a list of all of
the Global Names it uses, and then use just one of the Libraries, then
the list is useless and irrelevant.
I thought the OP's idea was to "urbi et orbi", not just sharing
experience between a group of "selected people" (I'm aside).
I don't understand Latin so I am not sure what you just said to me.
There are rather popular libraries which overload or extend host
object methods (window or document) and which have some global
variables like "isSomething".
And if you use one of those Libraries, then you would need a list of
variables in *that library only*.
It is terrible, incorrect, errorneous, false, profanic, obscene,
sacrilegious, amateurish, dilettantish, jackleg, jackass and mf b.s.
In your opinion, maybe. That doesn't make it so.
The problem remains that a lot of people are not aware of it or do not
give a tea-spoon of the substance for this matter ;-)
And you propose to save them from that? Good luck.
So rather then pretend that the problem do not exists it is better to
get a fair picture of what obstacles can be met by academically correct
libraries in the imperfect surrounding.
Just the sheer number of possibilities makes that impossible to do. But
you can start it off. When you get the first 10 million, or so, global
variable names that are about on the web, you can post a URL to your
list here.