Re: include statement bugs
- Posted by "Igor Kachan" <kinz at peterlink.ru> Oct 18, 2004
- 685 views
Hi Juergen, you wrote: ---------- > From: Juergen Luethje <j.lue at gmx.de> > To: EUforum at topica.com > Subject: Re: include statement bugs > Sent: 18 oct 2004 y. 17:02 > > Hi Igor, you wrote: > > > Derek Parnell wrote: > > <snip> > > >> No every file can be renamed without causing other problems. > > > > What one you can not rename _*JUST NOW*_ and foreve? > > > > Tell me please and I'll ask the author for you to solve that > > problem immediately for you both pleasure. > > <snip> > > I think the problem is most likely to happen with very common names, > such as "math.e" or "string.e". These short names are common, yes but this is not a problem at all. Say, if I want contribute some _new_ proggy, I must to check the Arcive to see what is that my proggy - new, good, single or not single on this theme, etc - the common practice of such the work. So, if I use the known name for my new lib, this will be my mistake, my buggy solution. The good practice is to know the objects & subjects and to make the new ones. Euphoria understands the long names. Why not use the progress? > Say you have the libraries 'lib1' and 'lib2', and both contain a > "string.e" file, but with different contents. You need to include both > libraries in one of your projects. > Then you ask the author of 'lib1', to rename his "string.e" file to say > "stringX.e". S/he does so, fine for you. Now another user of 'lib1' > might get a naming problem, that s/he didn't have before, because s/he > already has a different file "stringX.e", that belongs to 'lib3'. > Of course, this other user can write to the auther of 'lib3', and ask > her/him to rename the file ... There is one more aspect - the doubled lib names can make many confusions in Euphoria as a monolithic programming system. So, it is a good thing that Euphoria understands doubled names as same name. This is a way to make the Archive more and more robust. > This would be the never ending "Rename-The-File" game. > The more widespread Euphoria will be, the more likely this will happen, > no? Yes, but it is the very rare and the very useful process - renaming of doubled-name libs. > Regards, > Juergen Regards, Igor Kachan kinz at peterlink.ru