[fpc-pascal] Ideas for namespace implementation

Marco van de Voort marcov at stack.nl
Mon Jul 26 18:49:12 CEST 2010

In our previous episode, Graeme Geldenhuys said:
> > 
> > Regarding your ideas 2 and 3: as they are not Delphi compatible they 
> > might be considered a "bad thing" (TM) by the FPC developers.
> Currently FPC developers do not want to implement the "dotted" namespace
> idea from Delphi - though they already stated there stance on Delphi
> compatibly regarding this. In short - Delphi in-compatibility is not a
> problem here, just like Generics or Compiler Modes or ..... FPC doesn't do
> everything like Delphi, sometimes it does things _better_ than Delphi. FPC
> Namespaces would hopefully fall under the latter.

IMHO that is just the stance of Jonas. But dotted unit names or not, or a
solution to your problem are two totally different things, since you mix in
all kinds of namespace ideas.

I think that most, if not all delphi incompabilities will be fixed in the end. If not by
core, than by 3rd party patches, and in the end the first good patch that
fixes delphi compat on a language level (*) still has to be refused.

(*) codegenerator or debug info like changes are a different matter, like
the stuff with the moment when interfaces are released.

More information about the fpc-pascal mailing list