On Wed, Jul 14, 2010 at 7:49 AM, Marco van de Voort <mar...@stack.nl> wrote: > In our previous episode, Thaddy said: >> > >> Yes, but that defeats unit aliasing by renaming: like "uses foo in >> "bar.pas"" instead of "uses foo" (implies "in foo.pas"). Did somebody >> mention this in the discussion? > >> Programmers are not very imaginative in naming. It is plainly helpfull >> to be able to rename a file if another file with a different content..... > > I really wonder what the point is of such hack. You still have to walk all > references to add ( in ' '), so you might as well do a proper rename. > > In the past it was sometimes used to have long unit names refer to 8.3 > filenames, but I haven't really cared about 8.3 for almost a decade now.
I prefer to use search path instead of "in", but I think it's a good idea to use aliases for units. As Thaddy said "Programmers are not very imaginative in naming". I agree. I always nominate my units with prefix to haven't name conflicts with other units. MD. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel