[fpc-devel] Purpose of "uses ... in"?
Marco van de Voort
marcov at stack.nl
Wed Jul 14 12:49:43 CEST 2010
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.
More information about the fpc-devel