[fpc-pascal] dot within unit file name

Vinzent Hoefler JeLlyFish.software at gmx.net
Fri Jan 18 11:57:42 CET 2008


On Friday 18 January 2008 11:48, Michael Fuchs wrote:
> Bee schrieb:
> > Why cant FPC use unit that has (some) dot(s) within the file name?
> > Can FPC support it in the next release (2.2.2)?
>
> I think more interesting are dots in unit name for making better
> namespaces.

Actually, I'm thinking "child units".

"Namespaces" don't even have the appropriate scoping rules. The Java 
language's package is a perfect example for that: No matter where you 
put the class, it only sees it's own package. There they missed a 
perfect opportunity to enforce scoping rules with the compiler instead 
of letting the programmer decide it all over again just like they did 
back in the 70s, where all programs were written in FORTRAN and never 
crossed the 1023 lines of code boundary. ;)


Vinzent.



More information about the fpc-pascal mailing list