Hallo Marcos, Du schriebst am Fri, 15 Nov 2013 19:58:02 -0200:
> >> I guess using paths in sources is not a good idea. You will use "/" or > >> "\"? IMHO, only the compiler need to know paths. > > > > That's certainly true, a it "bonds" the source file to a certain system ... > > prime system using "\" also understands "/" as a path element separator, > > but what about systems using something else? I think to have seen some > > system using ":" for that purpose, other characters might be in use as > > well. > > Java uses "." ;-) Java? I don't know of either an operating system named "Java" or a file system of that name, only a programming language called so. Programming languages _should_ be "agnostic" toward the system specifics, so how can Java use a specific path element separator? > > Not really - you _have_ to have a way for storing these definitions. > > Whether in a source file or elsewhere, you will have to adjust them on > > another system. But a separate file - if properly documented - may have > > the advantage of keeping these definitions in a single place. Per > > project, at least. > > I don't understand where you see the difference... > The (new) ALIAS parameter is only one more parameter to compiler... I didn't talk about "seeing a difference", just that it is neccessary to somehow specify where to find the source files a project uses. Usually, the compiler is used to keep track of that, and often this has to be specified on every single call to it (gcc, e.g.). Such compiler behaviour even prompted the development of the "make" system a sa means to automate these things and to allow for persistent storage of the dependencies. BTW, there's a very easy and simple way around this neccessity: just require that _everything_ to compile a project from has to be contained in one big single file that you feed to the compiler. This was in fact the original approach used for Pascal. -- -- (Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem) ----------------------------------------------------------- Mit freundlichen Grüßen, S. Schicktanz ----------------------------------------------------------- ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk