Re: include statement bugs
- Posted by "Igor Kachan" <kinz at peterlink.ru> Oct 18, 2004
- 632 views
Hi, Lucius! You wrote: [snip] > > The Euphoria include files are too specialized, not usual, files. > > They are the libraries of functions, procedures and constants for > > the universal using. > > > > Do you know any other programming language with the duplicate > > libraries names? > > > > What a crazy fantasy to have duplicate names in different folders > > for the main programming stuff in Euphoria? > > > > If you have such the duplicated names, it is just yours mistake, > > yours problem, yours bug -- nothing more. > > > > Rename it and forget about that "problem". > > > > It is not a Euphoria bug. It is a normal practice to have > > the different names for the different libraries. > > > > Delete double - this is the most productive programming rule. > > > > > Another one blinded. > > johnny/text.e > global function center(sequence data) > -- fill in code > end function Who is that johnny? > alfred/text.e > global function justify(sequence text) > -- fill in code > end function Who is that alfred? > Both libs have nothing in common and neither of them belong to me. > now, that is just a simple short example. Not shrouded or anything like > that. > but the problem goes much deeper because of collective libs. The lagest collection of the Euphoria libs is the RDS Archive. Are those johnny & alfred thinking that their text.e have the same name and this same name will confuse most of EU users ANYWAY ? > Win32 is a collection of libs > kat has her collection of libs > I have mine. You may have yours. We will likely duplicate names > without knowing it. You want to program without knowing the language, it seems to me. > You may want to use others libs that clash. > 1: Namespace clash - both libs have some routines named the same > 2: Filenaming clash - both libs have have the same filename. > Neither developer had any clue of the other and neither should have to > give up their name. A simple solution is. > > unkmar/lib.e > scooby/lib.e > jami/lib.e > derek/lib.e > wingzero/lib.e > .... Try please the below thing instead: unkmarlib.e scoobylib.e jamilib.e dereklib.e wingzerolib.e And you'll never have a problem, this solution is without endless ///////// at all, and it works just now, do you see ???? I think those johnny & alfred will rename their libbies just now, to avoid The Giant Crash of Euphoria becouse of that terrible Rob's bug. Hey, johnny & alfred, am I right? Regards, Igor Kachan kinz at peterlink.ru