Anonymous wrote:
...I, as an author, will choose whatever prefix I want, as my preferred prefix, I will not change mine just because "its taken" by someone else...
of course, you - as an author - are free to choose whatever you like as a prefix, as long as you're not publish your work. when publishing a script which interferes with a different one, because somebody else got the idea to use the same prefix before you did, the user will get confused by that fact that you've choosen the same prefix but providing a completely different functionality.
especially the part of your quote
'I will not change mine just because "its taken" by someone else sounds to me like big blinders on your head and a profound lack of respect of the work and of the intellectual property of others.
c'me on ... if somebody decides to provide a stdlib for a topic such as a script which converts numbers from metric system to US customary units and decides to name it Center of Metric. as a consequence all functions provided in that function get the prefix COM (as in
Center
Of
Metrics ). some functions need a prior initialization (due to dll usage) so a COM_init() function exists in that package, too.
now how would user A (except in changing every function name from the library) would solve that problem if the user A wants not only to use that metric stuff, but also some decent COM objects from sean's COM StdLib?
and how would user B who downloads A's sample understand the sourcecode by reading COM_Init() - which COM stdlib script is used?
i think, this problem can simply be solved by a naming convention in the spirit of first come, first served. whoever comes after a desired stdLib prefix has been published, simply have to choose a different prefix when it comes to presenting a script as stdLib compatible and ready to use by community. its as simple as that. (also as an option b, one might ask the 1st author if it 'd be a problem to use the same prefix - but this is the wrong way to go )
anything else would either break existing scripts or simply spread confusion. ahk is a language which is designed to be easy. having stdLib scripts which use same prefix would scare away n00bs and confuse those not running away. its simply not the spirit of ahk.
basically the idea behind this is pretty much the same as in business world. you won't be able to name your company microsoft and have a product named windows 7 when you're not affiliated with Redmond's Microsoft. Just because this is about open source software and shared libraries it doesn't mean everybody may use well known stdLib prefixes for own functions and publish these.
by reading the quote again, i can just shake my head about such a small minded perspective
dR