[fpc-pascal] how to define a generic subclass inheriting from another generic class?

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Dec 10 16:10:58 CET 2013


On 10 Dec 2013, at 15:58, Anthony Walter wrote:

> Which is how the FPC mode syntax should have been to begin with IMO.

Can we please not restart that discussion? As has been mentioned  
several times before,
a) the FPC and Delphi syntaxes were developed in parallel, so neither  
could take the other as an example (well, theoretically Delphi could  
have taken FPC's approach, since theirs was developed behind closed  
doors while ours was in the open)
b) the FPC syntax favours being explicit/verbose and making things  
easy for the parser (no ambiguities about the meaning of "<" or ">"  
anywhere), while Delphi's syntax favours conciseness and similarity to  
C++

Neither approach is "how it should have been", except for in the eye  
of the beholder, and arguing either case again is not going to change  
anything either.


Jonas



More information about the fpc-pascal mailing list