[fpc-pascal] Looking for JavaScript component on FPC

Michael Van Canneyt michael at freepascal.org
Fri Apr 3 09:09:53 CEST 2015

On Thu, 2 Apr 2015, Andrew Brunner wrote:

> On 4/2/2015 11:46 AM, Michael Van Canneyt wrote:
>> Namespaces are available as dotted units ?
> Namespace as dotted units?  I use 3.1.1 compiled here so there is no problem. 
> FPC since as far as I recall (svn) has had support for naming units with 
> multiple dots.  I've had tons of units with includes and I dot them for quick 
> functionality review in directory listings.
> Hmmm... The only problem is it seems pretty cheap.   I love the advanced look 
> of my complex units.

So it's a matter of personal preference, not functionality. 
Any serious discussion stops there, of course:
De gustibus non disputandum est.

> I would have to break out each unit and maintain a 
> bunch of separate units.  I could see how this was a delphi-like feature but 
> its not done in a modern fashion.

To be sure, it was introduced to be delphi compatible.
Whether namespaces are 'modern','advanced' or not is a matter of debate. 
In the end (at the assembler level) it's all a flat namespace anyway.

At any rate, your choice of the word 'fashion' was probably spot-on: 
fashion changes at least twice a year :)


More information about the fpc-pascal mailing list